mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Oliver Neukum <oliver@neukum.org>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	Greg KH <greg@kroah.com>, "Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions)
Date: Mon, 1 Jun 2009 13:31:51 +0200	[thread overview]
Message-ID: <20090601113151.GB2445@elf.ucw.cz> (raw)
In-Reply-To: <200906011242.06244.oliver@neukum.org>

Hi!

First, thanks for quick reply.

> > > I believe this worked before; on 2.6.30-rc7, when ttyACM0 dies
> > > (openmoko in bootloader powers off) the notebook I'm running minicom
> > > on dies, too :-(. For the first time, I did not catch any messages,
> > > I'll retry the test on console.
> >
> > Nothing useful on the console...
> >
> > And it gets worse: with 2.6.30-rc7, I only get echo on character N
> > when I type character N=1. Which is extremely confusing and basically
> > makes it unusable for interactive work. This definitely worked
> > before... but it was quite long ago.

> Do you have any reason to assume these bugs are related? If not,
> please keep them separate.

Well, ok, they are probably two different bugs...

> Can you please be more specific what exactly fails?

...but it is quite easy to test for both of them and they seem to be
introduced in similar timeframe.

Steps to reproduce:

minicom /dev/ttyACM0

Bug #2: try to interactivelly communicate with the other
device. Notice that characters are echoed one character too late. You
type "hello", but only "hell" appears. You press "!", "o" appears. 

Bug #1: while minicom is still connected, pull the USB cable. Machine
locks hard.

Now, both bugs are present in 2.6.28, and 2.6.24-rc8 does not have
either problem.

It would be nice if someone could verify if it also happens with
regular USB modem -- I'm using openmoko to reproduce it.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2009-06-01 11:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01 10:14 ttyACM0: when the device dies, 2.6.30-rc7 dies, too (regression?) Pavel Machek
2009-06-01 10:25 ` ttyACM0: when the device dies, 2.6.30-rc7 dies, too, strange echo (regression) Pavel Machek
2009-06-01 10:42   ` Oliver Neukum
2009-06-01 11:31     ` Pavel Machek [this message]
2009-06-01 12:34       ` ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions) Oliver Neukum
2009-06-02  9:19         ` Pavel Machek
2009-06-02 13:20           ` Oliver Neukum
2009-06-02 13:21           ` Oliver Neukum

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=20090601113151.GB2445@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=rjw@sisk.pl \
    /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

all inboxes | Powered by JetHome®