Re: [Ftdi-usb-sio-devel] AT91SAM9263 USB Serial hang?
Brought to you by:
bryder
From: Bill R. <bil...@gm...> - 2010-02-16 21:03:23
|
Hi there, minicom uses the TIOCMGET and TIOCMSET calls which are properly implemented. microcom does not. Which is possibly why minicom was working and microcom was not. The flow control was set properly by minicom 1044 10:12:29.685847 ioctl(3, TIOCMGET, [TIOCM_CTS|TIOCM_DSR]) = 0 <0.000875> 1044 10:12:29.688026 ioctl(3, TIOCMSET, [TIOCM_RTS|TIOCM_CTS|TIOCM_DSR]) = 0 <0.000802> Also minicom was quite careful about checking the stats of the various flowcontrol/status lines and microcom does not. Bill On Wed, Feb 17, 2010 at 8:22 AM, Timo TH <ti...@po...> wrote: > Did the strace reveal something interesting? about why the microcom > and pppd hang. > > On 12 February 2010 12:17, Timo TH <ti...@po...> wrote: > > You were correct, using minicom things worked, > > attached both straces, > > > > On 11 February 2010 20:46, Bill Ryder <bil...@gm...> wrote: > >> Are able to try minicom instead of microcom? > >> > >> If that actually works can you get an strace of both of them? I'm > curious to > >> see how they setup the serial port. > >> > >> To get the detail it would need to be something like: > >> > >> strace -f -w /tmp/microcom.strace -tt -T -v microcom whatever arguments > >> > >> I like the -tt -T for timing reasons. The important thing is the -v and > >> maybe the -f. But the -v is necessary to get the full ioctl/termios > >> settings. > >> > >> And you could be right - there may be some kind of flow control setting > >> getting in the way. > >> > >> > >> > >> > |