On 9/20/14, 9:01 PM, Russell Senior wrote:
> If you need to do the symlink, you can do it from a shell with:
> 
>   ln -s /dev/ttyACM0 /dev/ttyUSB0

Don't do that (except as a last resort!)  The idea is sound, but I
believe contemporary Linux handles the /dev directory largely
automagically, so symlinks like that will confuse things.

I use minicom for all my serial-port-talking needs on Linux, and it
works equally well with devices that show up as /dev/ttyACMx and
/dev/ttyUSBx.  All I have to do is change the name of the port in the
minicom preferences.

I haven't used Java/rxtx for a while, but it's virtually certain that
there's a similar config setting there, and that you can get it to talk
to the device just by changing the name as necessary.

If you regularly have to switch between devices that show up as
/dev/ttyUSBx and /dev/ttyACMx, you might find it easier to configure
rxtx to look for the serial device in your home directory (or somewhere
OUTSIDE /dev) and then just switch between USB and ACM using Russ's
symlink idea.  I just think you'll have better luck overall if you avoid
making symlinks in /dev while logged in as root.

Regards,
-- 
Mersenne Law LLP  ·  www.mersenne.com  ·  +1-503-679-1671
- Small Business, Startup and Intellectual Property Law -
9600 S.W. Oak Street · Suite 500 · Tigard, Oregon  97223

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
dorkbotpdx-blabber mailing list
[email protected]
http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber

Reply via email to