CB302B battery monitoring and IMU setup: Hardware Extras. Bring your CB302B online.
Enable battery monitoring and motion sensors on your CB302B running stock JetPack. The curve-extras package connects the BQ40Z50 battery gauge and the BMI270 / BMM150 9-axis IMU to your Linux system.
v0.2.0 · JetPack 6.2.2 · L4T 36.5
Before you start
System requirements
- Platform
- NVIDIA Jetson Orin NX on CB302B
- JetPack
- 6.2.2 (L4T 36.5)
- Kernel
- 5.15.185-tegra
- Architecture
- aarch64
This installer is for Linux for Tegra (L4T) on the configuration listed above. Native CurveOS / Android 17 (beta) is a separate software environment.
Not sure what your system runs? Check your JetPack and L4T version.
01What it enables
Battery and sensor integration.
- Battery icon with real state of charge in the GNOME taskbar
- IMU and magnetometer exposed through the Linux IIO subsystem
- No device tree or bootloader changes - OTA-safe
- Survives reboots, with updated packages released for supported kernel changes
- Includes curve-diag for hardware verification
02Install
One command on your Jetson.
Run this command in a terminal on the target system.
curl -sL https://curvereality.com/setup | sudo bash
Or download the package: curve-extras-0.2.0-aarch64.tar.gz
What gets installed
/usr/lib/curve-extras/- Kernel modules and firmware
/usr/bin/curve-diag- Hardware diagnostic tool
/etc/systemd/system/curve-extras.service- System service
03Verify
Check the hardware.
curve-diag
Reports IMU sensor readings and battery status. All sensors should show as active.
04Uninstall
Return to stock JetPack.
sudo /usr/lib/curve-extras/install.sh --uninstall
Removes the installed files and disables the systemd service. Reboot to return to stock JetPack.
Boot stack stays intact
curve-extras does not modify the boot stack, device tree (DTB), or extlinux.conf. The installation is reversible.
05Release notes
Changelog
v0.2.0
- Fixed the UPower deadlock that caused a two-minute boot hang
- Added driver rebind for the battery race condition
- Updated modules for kernel 5.15.185-tegra (JetPack 6.2.2)
- Improved the idempotent setup script with verification
v0.1.0
Initial release - IMU and battery monitoring on CB302B.
Engineering support