I'm using Linux-2.6.35 released from freescale git.
I want to detect UART overrun error from user land. Now I receive UART RX data using opening sysfs file and using read(2) API. But it seeems to me that read(2) cannot return error(-1) even though overrun has occured.
Is there any measure to detect UART overrun error from user land?
(When I read "/proc/tty/driver/auart", I can aware wether overrun has occured or not. But when overrun has occured, I want to tell it to application without polling such files or filedescriptor.)