Re: How to achieve O_TTY_INIT when opening a USB modem?

2019-11-25 Thread Jeffrey Walton
On Sun, Nov 24, 2019 at 10:10 PM Philip Guenther wrote: > > On Sun, Nov 24, 2019 at 3:11 AM Jeffrey Walton wrote: >> >> I am struggling to get a USB modem and terminal configured properly >> under OpenBSD. The same code on Linux is fine. The symptom I am seeing >> is a hung read() after issuing

Re: How to achieve O_TTY_INIT when opening a USB modem?

2019-11-24 Thread Jeffrey Walton
On Sun, Nov 24, 2019 at 11:01 PM Philip Guenther wrote: > > On Sun, Nov 24, 2019 at 7:53 PM Jeffrey Walton wrote: >> >> On Sun, Nov 24, 2019 at 10:10 PM Philip Guenther wrote: >> > >> > On Sun, Nov 24, 2019 at 3:11 AM Jeffrey Walton wrote: >> >> >> >> I am struggling to get a USB modem and

Re: How to achieve O_TTY_INIT when opening a USB modem?

2019-11-24 Thread Philip Guenther
On Sun, Nov 24, 2019 at 7:53 PM Jeffrey Walton wrote: > On Sun, Nov 24, 2019 at 10:10 PM Philip Guenther > wrote: > > > > On Sun, Nov 24, 2019 at 3:11 AM Jeffrey Walton > wrote: > >> > >> I am struggling to get a USB modem and terminal configured properly > >> under OpenBSD. The same code on

Re: How to achieve O_TTY_INIT when opening a USB modem?

2019-11-24 Thread Philip Guenther
On Sun, Nov 24, 2019 at 3:11 AM Jeffrey Walton wrote: > I am struggling to get a USB modem and terminal configured properly > under OpenBSD. The same code on Linux is fine. The symptom I am seeing > is a hung read() after issuing ATZ\r to the modem. > > I'm guessing there's an uninitialized