Hello Christian, * Christian Weisgerber <naddy_at_mips.inka.de> wrote: > Has anybody noticed problems with uplcom after ed's MPSAFE TTY > commit? > > ucom1: <FTDI USB HS Serial Converter, class 0/0, rev 1.10/2.00, addr 4> on uhub2 > ucom2: <Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 1.10/3.00, addr 5> on uhub2 > > I'm seeing incomplete input followed by repetitive spew on ucom2. > The uftdi-based ucom1 seems fine. > > ucom2 is hooked up to the serial console of an OpenBSD box. The > getty there issues a banner like this: > > OpenBSD/alpha (kemoauc.mips.inka.de) (tty00) > > What I now get in cu(1) is a stream of this: > > OpenBSD/alpha (kemoauc.mips.in > OpenBSD/alpha (kemoauc.mips.in > OpenBSD/alpha (kemoauc.mips.inka.de) (tty00) > > OpenBSD/alpha (kemoauc.mips.in > OpenBSD/alpha (kemoauc.mips.inka.de) (tty00) > > OpenBSD/alpha (kemoauc.mips.in > OpenBSD/alpha (kemoauc.mips.in > OpenBSD/alpha (kemoauc.mips.inka.de) (tty00) > > OpenBSD/alpha (kemoauc.mips.in > OpenBSD/alpha (kemoauc.mips.in > OpenBSD/alpha (kemoauc.mips.inka.de) (tty00) > > [... and it keeps spewing ...] I think the best thing to test first is if things work if you enable/disable hardware and software flow control. The semantics of the new TTY layer are pretty much the same as the old TTY layer, with the big exception of flow control. If that doesn't help, could you compile your kernel with USB_DEBUG, set sysctl hw.usb.ucom.debug=1 and give me a dump of the text that scrolls by? Thanks for reporting this issue to the lists! -- Ed Schouten <ed_at_80386.nl> WWW: http://80386.nl/
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:34 UTC