RESOLVED: Disable the serial console that's messing up my serial comms
Pavils Jurjans last edited by Pavils Jurjans
How to disable the serial console? Both when the Omega is running, and also make it stick when it is restarted?
I have a device (Arduino) connected to the Omega via the serial interface (TX/RX pins), the tty device is /dev/ttyATH0. The serial console is messing up all the communication with my device. Omega version 1 here.
luz last edited by
Pavils Jurjans last edited by
Wow, @luz, thanks, man! Got the thing working!
To complete the thread, here's what I did:
- Implemented the "INIT" command in my Omega-Arduino serial protocol. Before receiving "INIT" command, Arduino swallows up anythin that is thrown at it, and does not return anything back. Only after the "INIT" command it starts to accept other commands and return responses.
- I changed the
/etc/inittabfile, commenting out the line that makes openwrt await a login on the console:
- Edited the
/etc/sysctl.conffile, adding a row at start, to prevent the kernel from writing any messages to the console:
kernel.printk = 0 4 1 7