write(3, "\1\0\0\0\0\0\0\0", 8) = 8 write(2, "TX: \"AT\\r\"\n", 11TX: "AT\r" ) = 11 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN|POLLOUT}], 2, {tv_sec=0, tv_nsec=0}, NULL, 0) = 2 ([{fd=3, revents=POLLIN}, {fd=5, revents=POLLOUT}], left {tv_sec=0, tv_nsec=0}) read(3, "\2\0\0\0\0\0\0\0", 8) = 8 write(5, "AT\r", 3) = 3 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN|POLLOUT}], 2, NULL, NULL, 0) = 1 ([{fd=5, revents=POLLOUT}]) write(3, "\1\0\0\0\0\0\0\0", 8) = 8 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, NULL, NULL, 0) = 1 ([{fd=3, revents=POLLIN}]) read(3, "\1\0\0\0\0\0\0\0", 8) = 8 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, NULL, NULL, 0 < DEVICE REMOVED HERE > ) = 1 ([{fd=5, revents=POLLIN|POLLERR|POLLHUP}]) read(5, "", 32768) = 0 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, NULL, NULL, 0) = 1 ([{fd=5, revents=POLLIN|POLLERR|POLLHUP}]) read(5, "", 32768) = 0 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, NULL, NULL, 0) = 1 ([{fd=5, revents=POLLIN|POLLERR|POLLHUP}]) read(5, "", 32768) = 0 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, NULL, NULL, 0) = 1 ([{fd=5, revents=POLLIN|POLLERR|POLLHUP}]) read(5, "", 32768) = 0 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, NULL, NULL, 0) = 1 ([{fd=5, revents=POLLIN|POLLERR|POLLHUP}]) read(5, "", 32768) = 0 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, NULL, NULL, 0) = 1 ([{fd=5, revents=POLLIN|POLLERR|POLLHUP}]) read(5, "", 32768) = 0 ppoll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, NULL, NULL, 0) = 1 ([{fd=5, revents=POLLIN|POLLERR|POLLHUP}]) read(5, "", 32768) = 0