Hi
I have a mega connected to a yun via the serial port. Then I read from ttyACM0 to be able to process stuff on the linino.
This works great untill the Arduino resets. Because my program (a bash script) keeps ttyACM0 locked Arduino gets assigned ttyACM1.
At this time the link between my arduino and linino is broken.
Is there a know way to work around this?
Yes, use udev rules. I have a embedded linux system on an x86 platform that connects to 3 USB to serial devices. I use udev rules to ensure the devices get the proper device assignment. I actually have to look at the product name to do this as a couple of the devices use the same driver numbers. Getting familiar with udev can save you a lot of time down the road.