On Mon, Sep 22, 2014 at 8:15 AM, David Madden <[email protected]> wrote: > 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
I appreciate the detailed advice, although I cannot say I fully understand it. I followed Russell's suggestion and got the communication working, but the success may not be due to the symlink, rather fussing with the baud rates may have done the trick. I think I should remove the symlink and see if things continue to work. But since I do not understand symlinks, I am reluctant to remove it for fear of removing the wrong thing. What does ACMx refer to? Any educational efforts would be welcome. Thanks again, -Denis _______________________________________________ dorkbotpdx-blabber mailing list [email protected] http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
