LimeSDR XTRX not found while listed on lspci

Hi,
I’m setting up limesdr xtrx to work with embedded debian 12. I’ve downloaded limesuite through apt and when I use “limeDevice” it returns “No devices found”. I’ve checked out dmesg messages and link was set up, and there is a device listed in lspci. Important detail is that it’s not standard version of Debian, it was build on BSP from development board producent.

LimeSDR XTRX is not supported by Lime Suite and instead you must use Lime Suite NG:

You will need kernel header files installed on your system, so that the limepcie module is built.

XTRX requires a PCIe driver. Driver compilation requires linux kernel headers to be available on the system.

As it’s a custom build, I assume the produced image does not contain linux kernel headers. Therefore attempts to build and install the driver would fail, tha APT package of the driver is suppose to use DKMS to build it, but if kernel headers are not available it won’t be able to.
Same will happen if you’d attempt to build it from source yourself.

You either need to install your system’s kernel headers, or you need to cross compile the limepcie driver using the same tooling that you used to build the BSP image.

@ricardas If they are installing Lime Suite via APT it will be classic/legacy version and not NG.

I’m sorry I meant limesuiteng I wasn’t aware that there is/was software named just limesuite. I’ve followed this guide Install from packages — Lime Suite NG documentation .

So as far as I know it does contain linux kernel headers. I have a build folder in /lib/modules/$(uname -r)/ what is unusual is that path to include is /lib/modules/$(uname -r)/build//include. Could you please provide more information how can I check if I have everything that’s needed ?

Try building a very basic kernel module code: GitHub - carloscdias/hello-world-linux-module: A simple Linux kernel module to be used as example
It that succeeds then you have everything you need. If that fails, then you are missing necessary kernel components.

So I’ve tried crosscompiling, prepared module set everything up so it would be loaded during boot and it seems to be working fine - limeDevice sees my radio through pcie. Thank you for your help !