All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksij Rempel <linux@rempel-privat.de>
To: linux-serial@vger.kernel.org
Subject: one char delay
Date: Thu, 14 Aug 2014 10:50:01 +0200	[thread overview]
Message-ID: <53EC7839.7060507@rempel-privat.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

Hello all,

i do some hobby work on porting linux to Alpscale asm9260 SoC and have
fallowing problem with serial driver. May be you can help me.

- each RX char will be send to the console only after next chart is
entered. For example:
Typed: dmesg
Displ:  dmesg
- all chars are immediately send with uart_insert_char() and
tty_flip_buffer_push() to the core. So this delay is not insight of
driver. I assume, i miss some flag or initialization.

The driver was initially based on atmel_serial.c and ported by Alpscale
to 2.4.28.
I reused this code.. which is working with this issue. Here is the driver:
https://github.com/olerem/linux-2.6/blob/arm_9260-2014.07.29/drivers/tty/serial/asm9260_serial.c

-- 
Regards,
Oleksij


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

             reply	other threads:[~2014-08-14  8:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14  8:50 Oleksij Rempel [this message]
2014-08-15 13:05 ` [SOLVED] Re: one char delay Oleksij Rempel

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=53EC7839.7060507@rempel-privat.de \
    --to=linux@rempel-privat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.