-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue running serial
on macOS
#55
Comments
@mjg59 curious if you have time to take a peek at this or have thoughts on what to try? |
it's worth nothing that the calls to |
I noticed the following line in the debug output: I tried killing ADB to see if that would have any effect. It did not. |
testing communicating with other usb endpoints (0x01, 0x03), this also did not work. |
Output from USB Probe on macos shows that there is in fact an interface 2 so its weird that we can't find it. snip...
Full output
|
some limeSDR users had a similar problem a while back https://discourse.myriadrf.org/t/limesdr-usb-works-fine-but-limesdr-mini-will-not-work/2419/29 Also this issue seems similar: libusb/libusb#214 (the pull request here is not helpful for us) |
seems like this might have fixed it for the limesdr folks myriadrf/LimeSuite#172 |
Running
serial
on macOS results in a libusbNOT_FOUND
error coming from the call tohandle.write_bulk(...)
: https://github.com/EFForg/rayhunter/blob/main/serial/src/main.rs#L66-L69With
LIBUSB_DEBUG=100
set, we get this output:I'm not super familiar w/ how USB works, but these two lines seem like the culprits:
Googling around, I found various libusb/macOS issues related to kernel extensions somehow preventing libusb from working properly. The solution to this seemed to be related to this
set_auto_detach_kernel_driver()
function, but even setting that didn't help.Here's what
ioreg
has to say about the orbic device:The text was updated successfully, but these errors were encountered: