- Ensures that the Industial I/O Core module is not loaded.
The modules blacklisted here takes over the pressure and magnetic sensors of the Sense HAT device which prevents other applications from using those sensors.
Create the file /etc/modprobe.d/blacklist-industialio.conf
with the following contents:
blacklist st_magn_spi
blacklist st_pressure_spi
blacklist st_sensors_spi
blacklist st_pressure_i2c
blacklist st_magn_i2c
blacklist st_pressure
blacklist st_magn
blacklist st_sensors_i2c
blacklist st_sensors
blacklist industrialio_triggered_buffer
blacklist industrialio
from https://github.com/J-Pai/EnvTrackerNode
- Build RTIMULib from source
git clone https://github.com/RPi-Distro/RTIMULib
cd RTIMULib/Linux/python
python setup.py build
python setup.py install
- add user to
i2c
group
sudo addgroup ubuntu input
sudo addgroup ubuntu i2c