I am new to the Linux world and am currently using Ubuntu 12.04. It is running in a Windows partition. I have developed a python program that reads in serial data from a micro-controller over the USB port. All was working fine till two days ago when it began crashing. On inputting
dmesg | grep tty in to the console I get the following output:
[ 0.000000] console [tty0] enabled [ 14.599394] cdc_acm 3-1:1.0: ttyACM0: USB ACM device [ 290.236065] cdc_acm 3-1:1.0: ttyACM0: USB ACM device [ 1105.915191] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
Every time I connect and disconnected the USB I get a new line with the same data. Only difference been the time. Is this right or have I a problem. Any help would be appreciated. Thanks
The issue was with the micro-controller. It rebooted every time it did not receive a package from any sensors for a period of time. The micro-controller is a router on a wireless sensor network. Every time the micro controller rebooted its connection port was incremented e.g
ttyACM1. Upon connecting the controller to a Raspberry PI this stopped happening.