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
When a bladeRF is already opened using the Cypress backend, attempting to probe for a device will fail to report the currently opened device.
This is because we attempt to open the device to gather information about it. However, we use a global lock to ensure the device isn't used by multiple processes. This prevents us from gathering the probe information.
This is most easily observed via bladeRF-cli:
Open a device via bladeRF-cli -i
Run the probe command in interactive mode.
The text was updated successfully, but these errors were encountered:
I think this could be the same case that I occasionally see. Use-case is different but end-result sounds very similar to me. Please advise with technical info about what's going on and I'll try to confirm.
Using open_device() is overkill, as we just want to open a device handle to
read member variables for VID, PID, and serial #; we're not writing to the
device.
*NOTE:* The CyAPI docs say that this will Close() the device first if
needed. This may be a bogus "fix" for #364, if the already opened device
handle is beings used when the probe() is called.
Using open_device() is overkill, as we just want to open a device handle to
read member variables for VID, PID, and serial #; we're not writing to the
device.
This addresses issue #364.
@mambrus This was specific to the Cypress backend. Definitely different if you're using libusb in Linux. Want to open a new issue for whatever symptoms you're seeing, or is it too early for that?
Using open_device() is overkill, as we just want to open a device handle to
read member variables for VID, PID, and serial #; we're not writing to the
device.
This addresses issue Nuand#364.
When a bladeRF is already opened using the Cypress backend, attempting to probe for a device will fail to report the currently opened device.
This is because we attempt to open the device to gather information about it. However, we use a global lock to ensure the device isn't used by multiple processes. This prevents us from gathering the probe information.
This is most easily observed via
bladeRF-cli
:bladeRF-cli -i
probe
command in interactive mode.The text was updated successfully, but these errors were encountered: