Solved problems on speed 57600 and 115200.

The issue was on:
  import core.sys.posix.termios
that should be:
  import core.sys.linux.termios;

Correct formatting.