actually output error code on ttyS0