Serial port initialization
I've been trying to send some data over a serial port on USB
it is correctly detected as ttyUSB0.
The device on the other end wakes up when receives the sequence $$$ without any CR or LF or anything else, so if I do
# screen /dev/ttyUSB0 9600
and then I type $$$ it works!
but if I do
# stty -F /dev/ttyUSB0 9600 -echo
# echo -n "\$\$\$" > /dev/ttyUSB0
it doesn't work! and it's driving me nuts!!
what is funny though is that the stty and echo solution works if minicom or screen is reading the serial port, so there must be some initialization I'm missing
doing stty -F /dev/ttyUSB0 before running screen and while screen is running reveals there are NO differences on condiguration or whatsoever
Thanks a lot for your attention!