From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From hiren.hiranandani at openroadsconsulting.com Fri Jul 1 14:48:28 2011 From: hiren.hiranandani at openroadsconsulting.com (Hiren Hiranandani) Date: Fri, 01 Jul 2011 16:48:28 -0400 Subject: [Rxtx] USB Unplug Crash with 2.2pre2 Message-ID: <4E0E329C.9070105@openroadsconsulting.com> I am running Windows 7 and when i disconnect something that uses VCOM. My application locks up when I disconnect the device. Here's the event generated in the System Log XML: 100021000x8000000000000011379ApplicationORC-LPT-090.OpenRoadsConsulting.comPersonalViewer64.exe0.0.0.04a37f7earxtxSerial.dll0.0.0.0498a3547c0000417000000000000bd94b3801cc35d20f2e3966C:\Program Files (x86)\ORCI\PersonalViewer\bin\PersonalViewer64.exeC:\Program Files (x86)\ORCI\PersonalViewer\bin\rxtxSerial.dll5d152f86-a1c5-11e0-9b0e-5c260a4becbb I have looked at the "USB disconnecting safe and fast data transfer to app" and "well known disconnect and crash problem" wasn't able to solve my problem. Any ideas? -- Hiren Hiranandani Open Roads Consulting, Inc. Office: (757)546-3401 Cell: (571)451-5223 Think before you print This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. P - Think before you print. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans_nieuwerth at nl.ibm.com Fri Jul 1 20:14:39 2011 From: frans_nieuwerth at nl.ibm.com (Frans Nieuwerth) Date: Sat, 2 Jul 2011 04:14:39 +0200 Subject: [Rxtx] AUTO: Frans Nieuwerth/Netherlands/IBM is out of the office until Monday (returning 18-07-2011) Message-ID: I am out of the office until 18-07-2011. I will be out of the office for a summer holiday until July 18, 2011. I will have limited access to emai and voicemail in that period. For Information Management Architect and MDM topics and customers, contact my back-up Christophe de Melio in Belgium, christophe_demelio at be,ibm.,com, phone +32-2-339 54 22. For other matters contact my manager Laurent Zeller, laurent_zeller at be.ibm.com, phone: +32 (0)474 97 36 33 (available until July 7), See you back later in July, Frans See you on the 6th, Frans Note: This is an automated response to your message "[Rxtx] USB Unplug Crash with 2.2pre2" sent on 1/7/11 22:48:28. This is the only notification you will receive while this person is away. From Martin.Oberhuber at windriver.com Mon Jul 4 03:21:16 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Mon, 4 Jul 2011 09:21:16 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Hi all, Does anybody have any fairly current rxtx binaries for windows 64-bit? Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip Has anything relevant happened to the repository since? How stable can 2.2pre2 be considered compared to HEAD ? I'm considering building a more recent Eclipse update site for RXTX, and I'd like to use the most stable builds I can get. http://rxtx.qbang.org/eclipse/downloads/ http://rxtx.qbang.org/eclipse/ Thanks, Martin -- Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85 fax +43.662.457915.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bartley at cmu.edu Mon Jul 4 05:39:26 2011 From: bartley at cmu.edu (Chris Bartley) Date: Mon, 4 Jul 2011 07:39:26 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> Message-ID: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris On Jul 4, 2011, at 5:21 AM, Oberhuber, Martin wrote: > Hi all, > > Does anybody have any fairly current rxtx binaries for windows 64-bit? > > Last ones I found were in rxtx-2.2pre2 (dated 4-Feb 2009): > http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2-bins.zip > > Has anything relevant happened to the repository since? > How stable can 2.2pre2 be considered compared to HEAD ? > > I?m considering building a more recent Eclipse update site for RXTX, and I?d like to use the most stable builds I can get. > http://rxtx.qbang.org/eclipse/downloads/ > http://rxtx.qbang.org/eclipse/ > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect ? Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From Martin.Oberhuber at windriver.com Wed Jul 6 11:50:05 2011 From: Martin.Oberhuber at windriver.com (Oberhuber, Martin) Date: Wed, 6 Jul 2011 17:50:05 +0000 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> Message-ID: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Thanks Chris, This is interesting ... though I'm concerned that I also need Linux which you haven't built. I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? http://bugzilla.qbang.org/show_bug.cgi?id=151 Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? Thanks, Martin -- Martin?Oberhuber, SMTS / Product Architect - Development Tools, Wind River direct +43.662.457915.85??fax +43.662.457915.6 -----Original Message----- From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley Sent: Monday, July 04, 2011 1:39 PM To: rxtx at qbang.org Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? Hi Martin, I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html best, Chris From adrian.crum at sandglass-software.com Wed Jul 6 20:19:11 2011 From: adrian.crum at sandglass-software.com (Adrian Crum) Date: Thu, 07 Jul 2011 03:19:11 +0100 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <4E15179F.8090706@sandglass-software.com> I initiated the Rewrite2010 effort. I wasn't aware the rewrite claimed that RxTx was stable. On the contrary, the purpose of the rewrite was to fix a number of issues with the legacy code. There was considerable interest in the rewrite until the preliminary code was committed, then interest fell off. I am available to assist if anyone still wants to participate in the rewrite. -Adrian On 7/6/2011 6:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx From stephen.more at gmail.com Thu Jul 7 10:33:14 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 12:33:14 -0400 Subject: [Rxtx] Easier to install Message-ID: I had a thought... What if all the Platform Specific libraries were included in the distributed jar file, then there could be a java class something like installUtils with installIfNeeded(). Then if the end-users ever upgrade their jre, applications could be smart enough to realize the libs no longer exist and install them in the proper location. Has someone already written such code, or should I get started ? -Stephen More From bartley at cmu.edu Thu Jul 7 10:37:52 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:37:52 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: http://code.google.com/p/nrjavaserial/ Chris On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > I had a thought... > What if all the Platform Specific libraries were included in the > distributed jar file, then there could be a java class something like > installUtils with installIfNeeded(). > > Then if the end-users ever upgrade their jre, applications could be > smart enough to realize the libs no longer exist and install them in > the proper location. > > Has someone already written such code, or should I get started ? > > -Stephen More > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From bartley at cmu.edu Thu Jul 7 10:47:11 2011 From: bartley at cmu.edu (Chris Bartley) Date: Thu, 7 Jul 2011 12:47:11 -0400 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: <8CE62814-434B-4746-A4F5-F8ED59B88CA5@cmu.edu> On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > This is interesting ... though I'm concerned that I also need Linux which you haven't built. I've built it under Linux, too, and it worked fine for me. See the very last section of the README: http://code.google.com/p/create-lab-commons/source/browse/trunk/java/lib/rxtx/README.txt I do not, however, have binaries of both 32-bit and 64-bit versions. I figured anyone wanting to use my modified version of RxTx would want to build for their particular linux flavor anyway. Chris On Jul 6, 2011, at 1:50 PM, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > > Chris... assuming that I'd integrate your changes into RXTX CVS, could you re-build off CVS? > I notice that I still have RXTX commit rights, and by that approach we could share efforts (me on CVS + Linux, you on Windows + Mac)... > Could anybody volunteer for reviewing my CVS checkins [I've been away from the project so long I'd rather have somebody review]? > > It looks like some work went into offspins over the past 2 years, there's an unfinished "Rewrite2010" repository (Windows only for now), and there's the purejavacomm initiative... while both still claim that RXTX itself is most stable... is RXTX mainstream dead or still alive? > > Thanks, > Martin > -- > Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River > direct +43.662.457915.85 fax +43.662.457915.6 > > > -----Original Message----- > From: rxtx-bounces at qbang.org [mailto:rxtx-bounces at qbang.org] On Behalf Of Chris Bartley > Sent: Monday, July 04, 2011 1:39 PM > To: rxtx at qbang.org > Subject: Re: [Rxtx] RXTX binary for Windows 64-bit ? > > Hi Martin, > > I have Win64 binaries, but they are slightly modified versions of what's in HEAD. See here for details: > > http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html > > best, > > Chris > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From stephen.more at gmail.com Thu Jul 7 11:55:16 2011 From: stephen.more at gmail.com (Stephen More) Date: Thu, 7 Jul 2011 13:55:16 -0400 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: On Thu, Jul 7, 2011 at 12:37 PM, Chris Bartley wrote: > I haven't had a chance to try it out yet, but Neuron Robotics' fork of RxTx claims to do what you're looking for: > > ? ? ? ?http://code.google.com/p/nrjavaserial/ Thanks, I'll give it a try...too bad I can't find it in a maven repository. > > On Jul 7, 2011, at 12:33 PM, Stephen More wrote: > >> I had a thought... >> ? ?What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? >> >> -Stephen More >> _______________________________________________ >> Rxtx mailing list >> Rxtx at qbang.org >> http://mailman.qbang.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx > From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:05:51 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:05:51 +0300 Subject: [Rxtx] Easier to install In-Reply-To: Message-ID: On 7/7/11 19:33, "Stephen More" wrote: >I had a thought... > What if all the Platform Specific libraries were included in the >distributed jar file, then there could be a java class something like >installUtils with installIfNeeded(). > >Then if the end-users ever upgrade their jre, applications could be >smart enough to realize the libs no longer exist and install them in >the proper location. > >Has someone already written such code, or should I get started ? My PureJavaComm which is based on JNA uses a similar stratege (JNA does it all) so there is never a platform library that you need to build, install or worry about: http://www.sparetimelabs.com/purejavacomm/index.html and https://github.com/nyholku/purejavacomm br Kusti From Kustaa.Nyholm at planmeca.com Thu Jul 7 12:16:26 2011 From: Kustaa.Nyholm at planmeca.com (Kustaa Nyholm) Date: Thu, 7 Jul 2011 21:16:26 +0300 Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On 7/6/11 20:50, "Oberhuber, Martin" wrote: >... while both still claim that RXTX itself is most stable... Personally I've never had a stability issue with RXTX on Mac or Windows so for me it has appeared stable. On the otherhand with USB/serial adapters I've had issue even with pure C-code. Just writing too fast more than 1 k characters to FTDI adapter will render Mac OS X paralyzed: you can see that it is still running but it does not respond to mouse or keyboard.... > is RXTX mainstream dead or still alive? Not even on life support, ER staff has left the building. Seriously, nothing much has happened for a few years IIRC, on the other hand for many people it works as advertised, but some people have had issues. I think it is lacking of people willing to actually work on the paper cut issues, not very interesting but requires effort and equipment and access to platforms and tools. I was not interested although JavaComm is very much in my interest. Instead I took the PureJavaComm route, the scenery was much better and the destination looks promising. br Kusti From tjarvi at qbang.org Thu Jul 7 16:11:54 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:11:54 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Thanks Chris, > > This is interesting ... though I'm concerned that I also need Linux which you haven't built. > > I'm also concerned that your patches haven't made their way into CVS - does anybody have any concerns with applying Chris' patches? > The System.loadLibrary fix in CommPortIdentifier for instance seems really straightforward ... any reason why this hasn't been integrated? > http://bugzilla.qbang.org/show_bug.cgi?id=151 > > Does anybody have experience with Chris' binaries, or with CVS HEAD-of-commapi-1-0-0 stability? > Hi Martin, If you have time to do some sanity checks, feel free to put them into CVS. I will eventually get to it when I qualify some new OS versions in a month or two if you don't. -- Trent Jarvi tjarvi at qbang.org From tjarvi at qbang.org Thu Jul 7 16:25:35 2011 From: tjarvi at qbang.org (Trent Jarvi) Date: Thu, 7 Jul 2011 16:25:35 -0600 (MDT) Subject: [Rxtx] RXTX binary for Windows 64-bit ? In-Reply-To: <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> References: <146B1557584B0B4DBD25ABAD45EF70F00E5FD6BF@ALA-MBB.corp.ad.wrs.com> <814464BA-3929-408C-A3D1-217E8C57FD6D@cmu.edu> <146B1557584B0B4DBD25ABAD45EF70F00E5FF07A@ALA-MBB.corp.ad.wrs.com> Message-ID: On Wed, 6 Jul 2011, Oberhuber, Martin wrote: > Does anybody have experience with Chris' binaries, or with CVS > HEAD-of-commapi-1-0-0 stability? > I'm still using that branch. I suspect I'll need to do some minor fixes in a month or two for the next round of OSs. > Could anybody volunteer for reviewing my CVS checkins > [I've been away from the project so long I'd rather have somebody > review]? > Sure. > It looks like some work went into offspins over the past 2 years, > there's an unfinished "Rewrite2010" repository (Windows only for now), > and there's the purejavacomm initiative... while both still claim that > RXTX itself is most stable... is RXTX mainstream dead or still alive? The development activity is low on RXTX. The project is also working for many people. I look at it every six months now and put any changes I need in to the CVS head after testing if they are needed. Its been working well me as CVS activity shows. The library is tested as part of an automated test harness at my work several times a day. Matching everyones binary requirements is difficult though. There have been many ideas for rewrites. We even supported some here as you noticed. -- Trent Jarvi tjarvi at qbang.org From gergg at cox.net Mon Jul 11 07:10:50 2011 From: gergg at cox.net (Gregg Wonderly) Date: Mon, 11 Jul 2011 08:10:50 -0500 Subject: [Rxtx] Easier to install In-Reply-To: References: Message-ID: The easiest thing to do, anytime you have a JNI library to use, is just include all the versions in the jar, and copy them out to a temp file as created by File, and the use load instead of loadLibrary to load from that path. Makes the users job easy. You do need to think about Exception handling in case it was already loaded hand act accordingly. Gregg Wonderly Sent from my iPhone On Jul 7, 2011, at 1:05 PM, Kustaa Nyholm wrote: > On 7/7/11 19:33, "Stephen More" wrote: > >> I had a thought... >> What if all the Platform Specific libraries were included in the >> distributed jar file, then there could be a java class something like >> installUtils with installIfNeeded(). >> >> Then if the end-users ever upgrade their jre, applications could be >> smart enough to realize the libs no longer exist and install them in >> the proper location. >> >> Has someone already written such code, or should I get started ? > > > > My PureJavaComm which is based on JNA uses a similar stratege (JNA does > it all) so there is never a platform library that you need to build, > install or worry about: > > http://www.sparetimelabs.com/purejavacomm/index.html > > and > > https://github.com/nyholku/purejavacomm > > br Kusti > > > > _______________________________________________ > Rxtx mailing list > Rxtx at qbang.org > http://mailman.qbang.org/mailman/listinfo/rxtx