Thread (4 messages) 4 messages, 2 authors, 2012-06-24

serial/mxs-auart: Unable to get interrupt counter from user space

From: Stefan Wahren <hidden>
Date: 2012-06-23 19:40:55

Hello,

i'm using Linux 2.6.35 at ARM and i experience the following issue with 
the mxs-auart (App UART). If i transmit and receive data over the serial 
port (using mxs-auart), all the interrupt counter (RX, TX, frame, 
parity, break) accessed from user space (ioctl with TIOCGICOUNT or 
/proc/tty/driver/auart) are zero.

Here is the scenario to reproduce the problem:

1. echoing some characters to the uart device
2. fetch the statistics from proc-Filesystem

Expected results: transmit counter greater than zero

Observed results: transmit counter is always zero

The same szenario on the mxs-duart (Debug UART) doesn't show this problem.

Is this a bug in mxs-auart or just not implemented?


Best Regards
Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help