Closed as not planned
Description
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.