8000 Host Panic on MacOS · Issue #15 · jiegec/usbip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Host Panic on MacOS #15
Closed as not planned
Closed as not planned
@hftsai256

Description

@hftsai256

Example program host would panic on MacOS with LIBUSB_ERROR_NOT_FOUND when hitting USB Billboard Device 2109:8884. An easy workaround is to handle errors from dev.active_config_descriptor() like:

(around src/lib.rs:57)

let cfg = match dev.active_config_descriptor() {
    Ok(cfg) => cfg,
    Err(err) => {
        println!("LibUSB Error: {:?}: {}", dev, err);
        continue;
    }
};

I haven't had a chance to test it thoroughly (by doing some programming on some developing SBCs), but at least I can now list available devices from M1 Macs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalebugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0