Re: ttyACM0: 2.6.30-rc7 dies on device disconnect, strange echo (regressions)

From: Oliver Neukum
Date: Tue Jun 02 2009 - 09:19:59 EST


Am Dienstag, 2. Juni 2009 11:19:13 schrieb Pavel Machek:
> On Mon 2009-06-01 14:34:56, Oliver Neukum wrote:
> > Am Montag, 1. Juni 2009 13:31:51 schrieb Pavel Machek:
> > > 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.
> >
> > I can replicate neither bug with 2.6.30-rc7. Can you replicate it with
> > anything but openMOKO?
>
> So AT commands echo properly on USB modem or something? Bad :-(.

My cell phone echoes back arbitrary strings.

> I'm afraid I do not have another ACM device near me. I guess going
> through cdc-acm.c 's history would be relevant?

A bisection would indeed be very good.

Regards
Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/