# Bring up sensors ## Build and flash an aDSP image To build the aDSP repository and flash the aDSP image on the device, see [Build and flash an aDSP image](https://docs.qualcomm.com/doc/80-80022-7A/topic/bringup_and_develop.html#build-and-flash-an-adsp-image). ## Enable sensors on the Qualcomm Dragonwing™ RB3 Gen 2 Development Kit Use the following resources to set up and validate the sensors based on either the Core Kit or the Vision Kit. For more information about the Core and Vision Kits, see [Qualcomm Dragonwing™ RB3 Gen 2 Development Kit](https://docs.qualcomm.com/doc/80-80022-251). ### Enable sensor on the Core Kit The following resources cover the hardware setup to enable the sensor on the main board. Table : Main board DIP switch (DIP_SW_0) setting | DIP switch number | State | Purpose | | --- | --- | --- | | 5 | OFF | Enable the sensor on the main board. | **Figure: DIP switch setting to enable accelerometer and gyroscope sensor on main board** No software change is required to enable the accelerometer and gyroscope sensor on the Core Kit. ### Enable sensor on the Vision Kit The following resources cover the hardware setup to enable sensors on the vision mezzanine board. 1. Set up the hardware DIP switch as mentioned in the following table to disable sensors on the main board. Table : Main board DIP switch (DIP_SW_0) setting | DIP switch number | State | Purpose | | --- | --- | --- | | 5 | ON | Disable the sensor on the main board. | **Figure: DIP switch setting to disable accelerometer and gyroscope sensor on main board** 2. Set up the hardware DIP switches as mentioned in the following tables to enable sensors on the vision mezzanine board. Table : Vision mezzanine DIP switch (DIP1) setting | DIP switch number | State | Purpose | | --- | --- | --- | | 1 | ON | Enable the accelerometer and gyroscope sensor. | | 4 | ON | Enable the pressure sensor. | | 5 | ON | Enable the magnetometer sensor. | Table : Vision mezzanine DIP switch (DIP2) setting | DIP switch number | State | Purpose | | --- | --- | --- | | 5 | ON | Enable the accelerometer and gyroscope sensor. | **Figure: DIP switch setting to enable all sensors on vision mezzanine board** Software setup: No software change is required to enable the sensors on the Vision Kit. ### Use an accelerometer and gyroscope on the Vision Kit main board (optional) If you are using the accelerometer and gyroscope sensors on the main board instead of the accelerometer and gyroscope sensors on the vision mezzanine board, then do the following: 1. Set up the hardware DIP switch as mentioned in the following table to enable the accelerometer and gyroscope sensors on the main board. Table : Main board DIP switch (DIP_SW_0) setting | DIP switch number | State | Purpose | | --- | --- | --- | | 5 | OFF | Enable the sensor on the main board. | 2. Set up the hardware DIP switches as mentioned in the following tables to disable the accelerometer and gyroscope sensors on the vision mezzanine board. Table : Vision mezzanine DIP switch (DIP1) setting | DIP switch number | State | Purpose | | --- | --- | --- | | 1 | OFF | Disable the accelerometer and gyroscope sensor. | Table : Vision mezzanine DIP switch (DIP2) setting | DIP switch number | State | Purpose | | --- | --- | --- | | 5 | OFF | Disable the accelerometer and gyroscope sensor. | Software setup Note The `` referred to in the following sections should be considered as one of the existing paths on the device: `/etc/sensors/registry/registry/` or `/var/cache/sensors/registry/registry/`. 1. Edit the `json.lst` file to remove the `qcm6490_rbx_navmez_icm4x6xx_0.json` entry (if present). vi /etc/sensors/config/json.lst Copy to clipboard 2. Open the `qcm6490_rbx_icm4x6xx_0.json` file. vi /etc/sensors/config/qcm6490_rbx_icm4x6xx_0.json Copy to clipboard 3. Add the value `2` to the existing `platform_subtype_id` field as shown here, and save the `qcm6490_rbx_icm4x6xx_0.json` file. "platform_subtype_id": ["5", "2"] Copy to clipboard 4. Remove the existing parsed registry files. rm -f /* Copy to clipboard 5. Reboot the device. reboot Copy to clipboard 6. Check for the registry files that are parsed. ls Copy to clipboard - The following output is displayed for the main board: qcm6490\_rbx\_icm4x6xx\_0.json.icm4x6xx\_0\_platform.accel qcm6490\_rbx\_icm4x6xx\_0.json.icm4x6xx\_0\_platform.accel.fac\_cal.bias qcm6490\_rbx\_icm4x6xx\_0.json.icm4x6xx\_0\_platform.gyro qcm6490\_rbx\_icm4x6xx\_0.json.icm4x6xx\_0\_platform.orient - The following output is displayed for the vision mezzanine board: qcm6490\_rbx\_navmez\_icm4x6xx\_0.json.icm4x6xx\_0\_platform.accel qcm6490\_rbx\_navmez\_icm4x6xx\_0.json.icm4x6xx\_0\_platform.accel.fac\_cal.bias qcm6490\_rbx\_navmez\_icm4x6xx\_0.json.icm4x6xx\_0\_platform.gyro qcm6490\_rbx\_navmez\_icm4x6xx\_0.json.icm4x6xx\_0\_platform.orient If the accelerometer and gyroscope sensors are disabled on the main board, then these sensors must be enabled on the vision mezzanine board. > > > 1. After enabling the sensors, revert or undo all the earlier hardware and software setup steps. > 2. After the reboot, on the next bootup verify that multiple files with the `qcm6490_rbx_navmez_icm4x6xx_0` prefix are present under the `` path. Last Published: May 07, 2026 [Previous Topic Sensors on the platform](https://docs.qualcomm.com/bundle/publicresource/80-80022-7/topics/platform_sensor_specs.md) [Next Topic Simulation platform](https://docs.qualcomm.com/bundle/publicresource/80-80022-7/topics/simulation.md)