USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

uhd_usrp_probe not working with NI USRP-2952R over PCI

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
0 Kudos
Message 1 of 7
(7,655 Views)

radioninja,

 

1. Can you confirm that the daemon niusrpriorpc processor is running?

2. What version of NI-RIO do you have installed? (If you didn't install this manually/separately from the USRP RIO, then that's good enough.)

3. Are you able to modprobe niusrpriok on its own? The Ettus webpage you linked says "Currently, the latest supported kernel version is 3.14.x." I wonder if the 3.17 kernel has any breaking API changes from 3.14.

 

Thanks!

0 Kudos
Message 2 of 7
(7,645 Views)

 

Brooksprumo,

 

1. Can you confirm that the daemon niusrpriorpc processor is running?

 

>>ps -au | grep niusrpriorpc
root 1082 0.0 0.0 27848 4832 pts/2 S 15:13 0:00 /usr/local/natinst/niusrp/bin/niusrpriorpc

 

 

2. What version of NI-RIO do you have installed? (If you didn't install this manually/separately from the USRP RIO, then that's good enough.)

 

niusrpriodistributioni-1.0.1f0. I installed it manually from the .gz from ettus site. Is this version good enough for NI USRP-2952R? I couldn't find any linux driver in NI website also.

 

3. Are you able to modprobe niusrpriok on its own? The Ettus webpage you linked says "Currently, the latest supported kernel version is 3.14.x." I wonder if the 3.17 kernel has any breaking API changes from 3.14.

 

Yes, modprobe works. I am not sure about any API changes. The module gets loaded without complaining.

 

 

0 Kudos
Message 3 of 7
(7,640 Views)

Ok, cool. This is all good to hear. The version of the USRP RIO software you have (version 1.0.1f0) was built for UHD verion 3.7, so I'm gonna confirm that UHD version 3.8 should still work with USRP RIO verion 1.0.1f0. In the meantime, can you run `lsmod | grep -i n` and let me know what it says?

0 Kudos
Message 4 of 7
(7,636 Views)

>>lsmod | grep -i n
niusrpriok 386125 0
NiRioSrv 734204 0
nistreamk 131846 2 niusrpriok,NiRioSrv
nibds 51513 2 niusrpriok,NiRioSrv
nikal 71006 4 niusrpriok,nibds,NiRioSrv,nistreamk

0 Kudos
Message 5 of 7
(7,634 Views)

Well, everything looks good from your lsmod output. I also confirmed that UHD 3.8 is supposed to work with USRP RIO 1.0.1f0, so unfortunately I'm out of ideas for what to try next... I'm trying to get in touch with the Ettus people directly to see if they have any suggestions or if they've had success with the 3.17 kernel. I guess now that I think about it, if you can get an older kernel, I'd try that out.

0 Kudos
Message 6 of 7
(7,627 Views)

Thanks brooksprumo. "usrp-users" mailing list is moderated I think. I am not able to post there for some reason. Anyways thanks for the ideas. I will get some SFP+ adapters and will switch Ethernet mode.

0 Kudos
Message 7 of 7
(7,616 Views)