From: Oleksij Rempel <linux@rempel-privat.de>
To: linux-serial@vger.kernel.org
Subject: [SOLVED] Re: one char delay
Date: Fri, 15 Aug 2014 15:05:55 +0200 [thread overview]
Message-ID: <53EE05B3.9080504@rempel-privat.de> (raw)
In-Reply-To: <53EC7839.7060507@rempel-privat.de>
[-- Attachment #1: Type: text/plain, Size: 971 bytes --]
Am 14.08.2014 um 10:50 schrieb Oleksij Rempel:
> 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
>
Never mind.
Problem is solved.
It was buggy driver code. Insight of start_tx some faulty check was not
allowing transmit buffers.
--
Regards,
Oleksij
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]
prev parent reply other threads:[~2014-08-15 13:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-14 8:50 one char delay Oleksij Rempel
2014-08-15 13:05 ` Oleksij Rempel [this message]
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=53EE05B3.9080504@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.