commit | 67eab046047e7442c0b2c241afefc3c7c0d0189b | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Wed Jul 12 12:08:35 2017 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Wed Jul 12 12:40:21 2017 +0800 |
tree | 67dc435fa13785a38c06f020428a057d88e5f5cb | |
parent | 1764145d43b7adf060dbe8624f361d80e7fab45c [diff] |
tty-handler: unify error handling for poller failures We currently have a bug where we don't unregister from the ringbuffer poller if we get an error on read(). This change unifies the error-handling for potential failure cases in the poller handler, and ensures that we unregister the ringbuffer poller and console poller in all cases. Change-Id: If354dd3c7f2a1ec534c6b42020fd9978e53cb20d Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Note: In addition to a toolchain and autoconf tools, this requires autotools-archive
to be installed.
To build this project, run the following shell commands:
./bootstrap.sh ./configure ${CONFIGURE_FLAGS} make
To fully clean the repository, run:
./bootstrap.sh clean
Running the server requires a serial port (e.g. /dev/ttyS0):
touch obmc-console.conf ./obmc-console-server --config obmc-console.conf ttyS0
To connect to the server, simply run the client:
./obmc-console-client
To disconnect the client, use the standard ~.
combination.