我创建了一个包含 USRP_UHD 和 GPP 的节点(并确保 ip_address 对于 USRP_UHD 是正确的)。我基于这个节点启动了域。但是,我收到以下错误:
UHD Error:
Device discovery error: AssertionError: libusb_init(&_context) == 0
in libusb_session_impl::libusb_session_impl()
at /builddir/build/BUILD/uhd-release_003_005_003/host/lib/transport/libusb1_base.cpp:37
UHD Error:
Device discovery error: AssertionError: libusb_init(&_context) == 0
in libusb_session_impl::libusb_session_impl()
at /builddir/build/BUILD/uhd-release_003_005_003/host/lib/transport/libusb1_base.cpp:37
...
-- Opening a USRP2/N-Series device...
-- Current recv frame size: 1472 bytes
-- Current send frame size: 1472 bytes
UHD Warning:
Unable to set the thread priority. Performance may be negatively affected.
Please see the general application notes in the manual for instructions.
EnvironmentError: OSError: error in pthread_setschedparam
我确实得到了两个未分配的(每个 TX/RX)调谐器,但是分配这两个调谐器用于任何参数并不容易。
此外,如果我只是启动域并启动单个设备 USRP_UHD,或者只是通过命令行窗口运行 discover USRP_UHD 命令,我会得到同样的错误:
UHD Error:
Device discovery error: AssertionError: libusb_init(&_context) == 0
in libusb_session_impl::libusb_session_impl()
at /builddir/build/BUILD/uhd-release_003_005_003/host/lib/transport/libusb1_base.cpp:37
2016-02-01 16:59:20 WARN USRP_UHD_i:943 - WARNING: NO UHD (USRP) DEVICES FOUND!
有人能弄清楚这个问题出在哪里吗?提前致谢!