On Mon, Jun 23, 2003 at 10:24:52AM -0400, Greg KH wrote: > On Mon, Jun 23, 2003 at 10:05:52AM -0400, Larry Irwin wrote: > > > > > On Fri, Jun 20, 2003 at 02:16:06PM -0400, Larry Irwin wrote: > > > > Hi All, > > > > I've been using MultiTech 2834ZDX's on /dev/ttyS1 with mgetty for a few > > > > years now on kernel versions 2.2.10 through 2.4.18 (Caldera, Debian, and > > > > RedHat). They work great... > > > > Now that it's hard to get 2 com ports on servers these days, I'm trying > > to > > > > get a USB modem to work. > > > > I've set up a USB modem (MultiTech 5634ZBA) on /dev/ttyACM0, made the > > > > entries in /etc/uucp/port and /etc/mgetty/mgetty.config and > > /etc/inittab. I > > > > can dial out fine with uucp, cu, and kermit. But, when I dial into the > > > > system I can't get ioctl's "opost" to work properly. - It always stays > > on > > > > one line (cr without nl) no matter what I do with stty... > > > > > > On Fri, Jun 20, 2003 at 03:23:06PM -0400, Greg KH wrote: > > > Any idea which ioctl is not working for the acm driver? > > > > I'm not sure if it's a problem with usb or acm. I think it must be with one > > of the usb components though, since Vojtech Pavlik's email to me indicates > > that acm does not process any of the data in the stream. > > > > Here are some of the things I've tried: > > Multiple terminal emulator clients and various emulations - same result for > > all of them. > > Everything stays on one line unless it overflows 80 chars. > > Character overflow moves the "one-line display" down a line or more based on > > the amount of overflow. > > "stty raw" will result in a barber-pole display (no cr's just nl's). > > If I turn on opost after stty raw, it returns to one line... even with > > ocrnl, onlcr, inlcr, icrnl, and onlret all set. > > I should be getting double or triple spaced screen output, but it's all on > > one line. > > Are you sure there isn't a config option on your terminal emulator > program? As I don't think anyone else has had this problem before.
I set the crlf option in kermit and the display works properly. Here's the problem -> 200+ servers in the field that will triple space when crlf is set in the emulator. I have around 15 support/training folks who dial into these systems constantly from various locations... So far, I've been able to have our staff connect to SCO OS5, AIX, Caldera, RedHat and Debian Woody via serial dial-up, telnet, and secure shell using kermit (Columbia University), ssh, or TERM (Century Software) without varying the setup of the emulation (kermit and ssh are passthrough, TERM maps local ttytype to dest ttytype). Is there a reason that usb is different from serial, telnet and ssh in that opost is ignored when set by stty? If so, then I'll have to train everyone to handle it when they encounter a usb modem. Thanks, Larry Irwin CCA Medical ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users