Running RTIMULib2 on TX1 with Auvidea J120 carrier board

Hi, I am trying to use the gui app in RTIMULib2 to visualise the IMU values but I get the following error when I run RTIMULibDemo.pro.

Starting /home/ubuntu/RTIMULib/Linux/build-RTIMULibDemo-JTX1-Debug/Output/RTIMULibDemo...
Settings file not found. Using defaults and creating settings file
Using fusion algorithm RTQF
Failed to open SPI bus 0, select 0
Failed to open SPI bus 0, select 1
No IMU detected
Failed to open SPI bus 0, select 1
No pressure sensor detected
Failed to open SPI bus 0, select 1
No pressure sensor detected
Failed to open SPI bus 0, select 1
No humidity sensor detected
Failed to open SPI bus 0, select 0
Using fusion algorithm RTQF
Failed to open SPI bus 0, select 1
No IMU detected
Failed to open SPI bus 0, select 0
Failed to open SPI bus 0, select 1
No IMU detected
Using fusion algorithm RTQF
Failed to open SPI bus 0, select 0
Using fusion algorithm RTQF
Failed to open SPI bus 0, select 1
No IMU detected
Failed to open SPI bus 0, select 0
Using fusion algorithm RTQF
Failed to open SPI bus 0, select 1
No IMU detected
Using fusion algorithm RTQF
Failed to open SPI bus 0, select 0
Failed to open SPI bus 0, select 1
No IMU detected

I updated the ini file to use SPI with bus 3 and select 0.
My J120 board has the MPU 9250 IMU and I flashed the jetson with the firmware from Auvidea and I see spidev3.0 in /dev
I even tried running the program as sudo and it won’t work.

Hi,
Did you start RTIMULibDemo with sudo?
It worked for me, though it was with TX2 and I needed to change the SPI bus to 1 and select 0, as it appears as spidev1.0.

Kalvik, Were you able to make it work?. I’m struggling with exactly the same thing, and at this point I’m not sure Auvidea firmware actually works.

EDIT: Found my problem. RTIMULib was not reading the ini file correctly. So it was never changing to BUS 3. I changed the default value in the cpp code, so it sets BUS 3 by default.