Skip to content

Strange hang on open (DS9097 via ch341-uart converter #17

@FredFirestone

Description

@FredFirestone

Hi,

I'm experiencing strange hangs on open in owAcquire (userial/ds9097/linuxses.c). I've straced and debuged the hang but was curios as minicom seems to work fine.

I've decided to be bold and add the flags O_NOCTTY|O_NONBLOCK and this seemed to have helped the issue.

The line now reads:
if ((fd[portnum] = open(port_zstr, O_RDWR|O_NOCTTY|O_NONBLOCK )) == -1)

Regards,

Markus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions