On Mon, 20 Jul 2009, Alan Cox wrote: > > tcsetattr(fd, TCSANOW, &options); > > > > > > So I guess I did? > > That all looks good, so the kernel won't be adding/removing any bytes (or > echoing stuff back from the device at the device) It looks like Stefan forgot to clear INLCR, IGNCR, ICRNL, IXON, and IXOFF from options.c_iflag. The ICRNL bit in particular would cause the problem he's seeing. In fact, the best approach would probably be to call cfmakeraw(). Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html