Enabling an Industrial I/O Driver on Raspberry Pi 3 running Arch Linux ARM

MPU9250 from TDK is a three in one Gyro + Accelerometer + Compass sensor with an I ² C interface. Mainline Linux kernel has the source code for it's driver which reads values from the sensor via I ² C and exposes it via the filesystem using the Industrial I/O subsystem . Arch Linux ARM for Raspberry Pi does not come with the driver for this pre-compiled and enabled. Here is how to compile and enable the driver on Raspberry Pi 3 Model B. Raspberry Pi 3 Model B with MPU9250 connected to it's I ² C interface and a USB-Serial widget to access console over serial Connections Buy the MPU9250 Widget from Amazon and hook it up to your Raspberry Pi as per the table RPi3 (2.54mm) MPU9250 Module (2.54mm) 3.3V PWR Pin 1 VCC GND ...