On Sun, Apr 02, 2006 at 03:51:38PM +0200, Michael Hanselmann wrote: > I've discovered a problem where I'm not sure wether it's an error in the > kernel or in the hardware. It's neither - it's a bug in your test program. If you want "callout" semantics, open the port using O_NONBLOCK mode. If you don't open the port using O_NONBLOCK then the port will wait for the DCD line (or virtual DCD line) to be asserted by the hardware before exiting uart_block_til_ready(). This is used for gettys on UARTs so they don't display the login banner until someone connects to the port. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html