public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Hans-Peter Jansen" <hpj@urpla.net>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org, "R.L. Horn" <lists@eastcheap.org>
Subject: Re: 2.6.25.3: serial problem (minicom)
Date: Wed, 18 Jun 2008 02:15:45 +0200	[thread overview]
Message-ID: <200806180215.45925.hpj@urpla.net> (raw)
In-Reply-To: <20080617095827.0f4f77de@lxorguk.ukuu.org.uk>

Am Dienstag, 17. Juni 2008 schrieb Alan Cox:
> On Mon, 16 Jun 2008 23:22:54 -0500 (CDT)
>
> "R.L. Horn" <lists@eastcheap.org> wrote:
> > On Mon, 16 Jun 2008, Alan Cox wrote:
> > > Whatever it implies the behaviour should not have changed between
> > > 2.6.24 and 2.6.25. Nobody AFAIK sat down and decided to change it.
> >
> > And, besides, I've gotten reports that the usb-serial drivers still
> > behave the same as with 2.6.24.
> >
> > It looks like the call to tty_termios_encode_baud_rate() in
> > drivers/serial/8250.c is the culprit.  If I comment it out, everything
> > appears to go back to normal (seemingly with no undesired side
> > effects).
> >
> > Why the call is there (it didn't replace anything else in the 2.6.24.7
> > version of 8250.c, though it did in serial_core.c) remains a mystery to
> > me.
>
> Ah ok I know what the bug is - it was fixed in 2.6.26-rc as follows
>
> +       /* Don't rewrite B0 */
> +       if (tty_termios_baud_rate(termios))
> +               tty_termios_encode_baud_rate(termios, baud, baud);
>  }

Alan, could this issue lead to dysfunctional serial dcf77 receivers, too? 
(and could you point my to the related git changeset?)

I'm using ntpd "127.127.8.0 mode 16" devices since a decade now (RAWDCF 
receiver: DTR=low/RTS=high) and after upgrading to openSUSE 11.0, which is 
using 2.6.25.5, those get no power anymore :-(.

Or do you have another idea? I currently prepare a test system, and would be 
ready for kernel patching tomorrow..

TIA, Pete

  parent reply	other threads:[~2008-06-18  0:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-13 21:36 2.6.25.3: serial problem (minicom) R.L. Horn
2008-06-14  9:29 ` Alan Cox
2008-06-15  7:04   ` R.L. Horn
2008-06-16 10:13     ` Alan Cox
2008-06-17  4:22       ` R.L. Horn
2008-06-17  8:58         ` Alan Cox
2008-06-17 11:03           ` R.L. Horn
2008-06-18  0:15           ` Hans-Peter Jansen [this message]
2008-06-18 17:55             ` Alan Cox
2008-06-18 20:07               ` Olivier Galibert
2008-06-19  8:20               ` R.L. Horn
2008-06-19 23:46               ` Hans-Peter Jansen
2008-06-20 11:22                 ` R.L. Horn
2008-06-17 10:50       ` R.L. Horn
  -- strict thread matches above, loose matches on Subject: below --
2008-05-15 19:06 Chris Rankin
2008-05-16  3:23 ` Andrew Morton
2008-05-16  7:28   ` Chris Rankin
2008-05-16 17:33 ` Jay Cliburn
2008-05-17 12:29   ` Chris Rankin
2008-05-17 13:22     ` Jay Cliburn
2008-05-17 13:32       ` Jay Cliburn
2008-05-17 14:49       ` Chris Rankin
2008-05-17 15:10         ` Jay Cliburn
2008-05-17 18:46           ` Bart Van Assche

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=200806180215.45925.hpj@urpla.net \
    --to=hpj@urpla.net \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lists@eastcheap.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