[USRP-users] uhd_usrp_probe not working with NI USRP-2952R over PCI

Ashish Chaudhari ashish.chaudhari at ettus.com
Thu Oct 30 13:01:58 EDT 2014

Hi Sreeraj,

Its seems like the OS is recognizing the device but the USRP RIO driver
stack isn't. First, lets verify that all the necessary kernel modules are
actually loaded. Can you please post the output of
"/usr/local/bin/niusrprio_pcie status"? After you have run "sudo
/usr/local/bin/niusrprio_pcie start" it should look like the following:

$ /usr/local/bin/niusrprio_pcie status
Modules Loaded: nikal nibds nistreamk NiRioSrv niusrpriok
Server: niusrpriorpc

I should mention that the 3.17 kernel is newer than our officially
supported kernel versions and we have not verified it. To figure out if
this could be a kernel compatibility issue please run the following
commands and post the output of the last command.

$ sudo /usr/local/bin/niusrprio_pcie stop
$ sudo rm /usr/local/natinst/nikal/src/client/*.o*
$ sudo rm /usr/local/natinst/nikal/src/nikal/*.*o*
$ sudo /usr/local/bin/updateNIDrivers --no-prompt

I should also mention that the USRP RIO devices are not hot-pluggable over
PCIe. Even if the kernel has hot-plug support the USRP drivers don't and
you can get into a situation where the OS detects the device and the driver
stack does not. So (if you have not done this already) I would ask that you
try your tests after rebooting your host (leaving the USRP powered on).


*Ashish Chaudhari* | Senior Software Engineer | High Frequency Measurements
- RF
Ettus Research, *A National Instruments Company*
ashish.chaudhari at ettus.com

On Wed, Oct 29, 2014 at 10:41 AM, sreeraj r via USRP-users <
usrp-users at lists.ettus.com> wrote:

> Hi,
> I installed NI USRP RIO PCI driver from
> http://files.ettus.com/manual/page_ni_rio_kernel.html. But I am not able
> to probe my USRP using uhd_usrp_probe/uhd_find_devices. I recompiled uhd
> and is facing the same issue. Please find the logs given below.
> OS: Archlinux 3.17.1-1-ARCH
> Some outuput logs
> >> sudo /usr/local/bin/niusrprio_pcie start
> Loading: NiRioSrv niusrpriok
> Starting: niusrpriorp
> >>lspci -k -d 1093:c4c4
> 04:00.0 Signal processing controller: National Instruments PXIe/PCIe Device
>     Subsystem: National Instruments Device 7730
>     Kernel modules: niusrpriok
> >>sudo ls
> /dev/ni
> nistreamk:0\nistreamk\
> >>uhd_find_devices
> linux; GNU C++ version 4.9.1 20140903 (prerelease); Boost_105600;
> UHD_003.008.000-0-unknown
> UHD Error:
>     Device discovery error: input stream error
> No UHD Devices Found
> >>uhd_usrp_probe
> linux; GNU C++ version 4.9.1 20140903 (prerelease); Boost_105600;
> UHD_003.008.000-0-unknown
> Error: input stream error
> Thanks in advance
> Sreeraj Rajendran
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20141030/cac5c686/attachment-0002.html>

More information about the USRP-users mailing list