I am unable to detect X310 over pcie. I have installed uhd(v3.14.0.0) and compiled and installed RIO drivers as well. Below is my configuration:
[pretlist@clr-
85a7812169e346e6b143a228fe1b96
41 Downloads]$ sudo niusrprio_pcie start
Making sure drivers are up to date...
Module nikal is up-to-date
Module nibds is up-to-date
Module nistreamk is up-to-date
Module NiRioSrv is up-to-date
Module niusrpriok is up-to-date
Loading: NiRioSrv niusrpriok
Starting: niusrpriorpc
[pretlist@clr-
85a7812169e346e6b143a228fe1b96
41 Downloads]$ lsmod | grep -i ni
niusrpriok 417792 0
NiRioSrv 942080 0
nistreamk 131072 2 niusrpriok,NiRioSrv
nibds 57344 2 niusrpriok,NiRioSrv
nikal 98304 4 niusrpriok,NiRioSrv,nistreamk,
nibds
[pretlist@clr-
85a7812169e346e6b143a228fe1b96
41 Downloads]$ uname -r
4.19.48-48.lts2018
[pretlist@clr-
85a7812169e346e6b143a228fe1b96
41 Downloads]$ ls /dev/ni/
'nistreamk:0\nistreamk\0'
[pretlist@clr-
85a7812169e346e6b143a228fe1b96
41 Downloads]$ sudo netstat -anp| grep 5444
tcp 0 0
0.0.0.0:5444 0.0.0.0:* LISTEN 1845/niusrpriorpc
[pretlist@clr-
85a7812169e346e6b143a228fe1b96
41 Downloads]$ uhd_usrp_probe --args "type=x300,resource=RIO0"
[INFO] [UHD] linux; GNU C++ version 9.1.1 20190605 gcc-9-branch@271943; Boost_106800; UHD_3.14.0.HEAD-0-g6875d061
[ERROR] [UHD] Device discovery error: input stream error
Error: LookupError: KeyError: No devices found for ----->
Device Address:
type: x300
resource: RIO0
[pretlist@clr-
85a7812169e346e6b143a228fe1b96
41 uhd]$ git status
HEAD detached at v3.14.0.0
Digging through uhd code
lib/usrp/x300/x300_impl.cpp (x300_find_pcie ) ->
lib/usrp/x300/x300_impl.cpp (niusrprio_session::enumerate(
rpc_port_name, dev_info_vtr)) ->
lib/transport/nirio/niusrprio_
session.cpp (nirio_status_chain(temp_rpc_
client.niusrprio_enumerate(
device_info_vtr), status)) ->
lib/transport/nirio/rpc/
usrprio_rpc_client.cpp (usrprio_rpc_client::
niusrprio_enumerate(NIUSRPRIO_
ENUMERATE_ARGS))
out_args >> status; -> This returns status as -52012