Re: Hang in tcdrain(3) after write(3)

2019-11-28 Thread Matthew Dillon
If modem control is turned on you have to go into clocal mode to drain commands, otherwise its waiting for a carrier. That's one possibility. -Matt On Mon, Nov 25, 2019 at 3:14 PM Jeffrey Walton wrote: > Hi Everyone, > > I'm testing some software on DragonFly. There's not much to it. It >

Hang in tcdrain(3) after write(3)

2019-11-25 Thread Jeffrey Walton
Hi Everyone, I'm testing some software on DragonFly. There's not much to it. It talks to the modem, and sends an ATZ and then reads the response. Linux, FreeBSD, NetBSD, OpenBSD and OS X are OK. My test rig is DragonFly 5.6-RELEASE x86_64 (fully patched) with a USR5637 modem,