You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Example program
host
would panic on MacOS withLIBUSB_ERROR_NOT_FOUND
when hitting USB Billboard Device2109:8884
. An easy workaround is to handle errors fromdev.active_config_descriptor()
like:(around
src/lib.rs:57
)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.
The text was updated successfully, but these errors were encountered: