Re: [PATCH RFC 0/11] usbserial: Serial Core port.

From: Pete Zaitcev
Date: Fri Jun 02 2006 - 18:47:34 EST


On Fri, 02 Jun 2006 11:03:29 +0100, David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
> On Thu, 2006-06-01 at 23:48 -0700, Pete Zaitcev wrote:
> >
> > > The tests I've done so far weren't anything serious: as the mobile supports a
> > > AT command set, I have used the ones (with minicom) which transfers more data.
> > > Of course that I also did module load/unload tests, tried to disconnect the
> > > device while it's transfering data and so on.
> >
> > Next, it would be nice to test if PPP works, and if getty and shell work
> > (with getty driving the USB-to-serial adapter).
>
> xmodem is a good test -- better than PPP because it stresses the
> buffering in a way which PPP won't. Log into a remote system, try
> sending and receiving files with xmodem.

I understand. My intent was different, however. One of the bigger sticking
points for usb-serial was its interaction with line disciplines, which are
notorious for looping back and requesting writes from callbacks
(e.g. h_hdlc.c). They are also sensitive to drivers lying about the
amount of free space in their FIFOs. This is something you never test
when driving a serial port from an application, no matter how cleverly
written.

-- Pete
-
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/