Skip to content

resource busy on OSX with exclusive=true #74

@HerrMuellerluedenscheid

Description

Hi,
I'm on OSX. The device I'm trying to connect to responds fine using e.g. screen. When using tokio-serial I'm getting the response:

called `Result::unwrap()` on an `Err` value: Error { kind: Unknown, description: "Device or resource busy" }

What I tried and what works fine os linux:

    let port = "/dev/tty.usbserial-AB0LMQX8";
    let mut serial_stream = tokio_serial::new(port, 9600)
        .open_native_async().unwrap();

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