public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Wahren <info@lategoodbye.de>
To: linux-serial@vger.kernel.org
Subject: serial/mxs-auart: Unable to get interrupt counter from user space
Date: Sat, 23 Jun 2012 21:19:40 +0200	[thread overview]
Message-ID: <4FE616CC.9000709@lategoodbye.de> (raw)

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

             reply	other threads:[~2012-06-23 19:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-23 19:19 Stefan Wahren [this message]
2012-06-24  2:25 ` serial/mxs-auart: Unable to get interrupt counter from user space Greg KH
2012-06-24  9:14   ` Stefan Wahren
2012-06-24 17:53     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FE616CC.9000709@lategoodbye.de \
    --to=info@lategoodbye.de \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox