RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Fri Dec 26, 2025 7:02 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Howto:Reduce available com ports in Logger
PostPosted: Mon Jul 30, 2007 11:52 pm 
Offline
Newbie

Joined: Mon Jun 18, 2007 7:25 pm
Posts: 89
Here's a trick I learned today. There is a command line switch for Java (well...rxtx lib) that will only present the COM port(s) you tell it to present to RomRaider. This is especially useful if you have a bunch of com ports and you don't feel like digging through them all every time you launch RomRaider, or if you are a linux user like me, and have your tactrix cable symlinked with a UDEV rule so it appears first on the list and automagically connects.

Here's the switch I use for linux (with my tactrix cable having a symlink to /dev/ECU with a UDEV rule...good idea if you have more than one USB serial device...I'll post the rule next time I download stuff from my car...com ports are listed alphabetically, so /dev/ECU appears before /dev/ttyS0) that makes the tactrix cable appear first on the list, and COM1 still available for my LC-1, but it skips my GPS receiver and anything else I don't want that shows up under /dev/ttyX:

-Dgnu.io.rxtx.SerialPorts=/dev/ECU:/dev/ttyS0

This *may* work for windows. It is untested, but for instance, if you know your tactrix cable is at com 5, you have an LC-1 on com1, but you have a modem on com 4 and unused com port 2 you don't want listed in the logger as possible selections:

-Dgnu.io.rxtx.SerialPorts=COM1;COM5

I'm pretty sure windows needs semi colons, not colons, for groupings of command line arguments. If you only need one serial device, leave the semi-colon off!

Now for Mac...I actually have never had any serial device hooked up to my macbook pro, but if I did, I would imagine it would look like this:

java -Dgnu.io.rxtx.SerialPorts=/dev/cu.*something here*:/dev/cu.*something else here*

More information:
http://rxtx.qbang.org/wiki/index.php/Installation


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 04, 2007 11:51 am 
Offline
Newbie

Joined: Tue Dec 12, 2006 6:41 pm
Posts: 5
-Dgnu.io.rxtx.SerialPorts=COM3 works perfectly on windows. Thanks for the tip!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl