diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2013-11-07 10:44:18 +0200 |
---|---|---|
committer | Jun Tian <jun.j.tian@intel.com> | 2014-01-29 18:01:46 +0800 |
commit | 324a0c43835b935721c938a2684874e0b5bf8311 (patch) | |
tree | ce137d8432c48e7f7d9618f48400952065b340e9 /qemud | |
parent | 8bb5f92dcd48dbbaa69ab15f97aca13d49b08599 (diff) | |
download | goldfish-324a0c43835b935721c938a2684874e0b5bf8311.tar.gz |
Disable echo on all tty lines
The new serial names use in the upstream goldfish patches are
/dev/ttyGF* and they do not match the current check (/dev/ttyS*).
For: ABIT-15
Change-Id: I84fd470924406e054ebafd53488a3e834b552c4f
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Jun Tian <jun.j.tian@intel.com>
Diffstat (limited to 'qemud')
-rw-r--r-- | qemud/qemud.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemud/qemud.c b/qemud/qemud.c index e8363765..543ce358 100644 --- a/qemud/qemud.c +++ b/qemud/qemud.c @@ -1629,7 +1629,7 @@ multiplexer_init( Multiplexer* m, const char* serial_dev ) strerror(errno) ); } // disable echo on serial lines - if ( !memcmp( serial_dev, "/dev/ttyS", 9 ) ) { + if ( !memcmp( serial_dev, "/dev/tty", 8 ) ) { struct termios ios; tcgetattr( fd, &ios ); ios.c_lflag = 0; /* disable ECHO, ICANON, etc... */ |