TechLab mma8452 accelerometer not being installed.
Created by: MarkAYoder
Describe the bug No such file or directory: '/sys/bus/i2c/drivers/mma8452/2-001c/iio:device1/in_accel_x_raw'
**Describe which image you are running (example: bone-debian-10.2-iot-armhf-2020-02-03-4gb.img.xz) ** BeagleBoard.org Debian Buster IoT Image 2020-07-06
Describe your hardware PocketBeagle with TechLab board
Please run this built-in script
sudo /opt/scripts/tools/version.sh
sudo: unable to resolve host pocket: No address associated with hostname
git:/opt/scripts/:[029041f6866049997bbfd2c7667b3c6e8c95201c]
eeprom:[A335PBGL00A21750EPB00481]
model:[TI_AM335x_PocketBeagle]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-07-06]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-g31a8ae0206]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-pocketbeagle.dts]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
kernel:[5.4.47-ti-r12]
nodejs:[v10.21.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20200709.0-0buster+20200709]
pkg:[bb-wl18xx-firmware]:[1.20200702.0-0buster+20200702]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0buster+20190327]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal input bluetooth netdev i2c gpio admin spi iio docker tisdk weston-launch xenomai cloud9ide pwm eqep remoteproc]
cmdline:[console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 2.015444] remoteproc remoteproc0: wkup_m3 is available
[ 2.202051] remoteproc remoteproc0: powering up wkup_m3
[ 2.202700] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[ 2.204511] remoteproc remoteproc0: remote processor wkup_m3 is now up
dmesg | grep pru
dmesg | grep pinctrl-single
[ 1.721117] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[ 1.730966] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END
To Reproduce Steps to reproduce the behavior:
- cd /var/lib/cloud9/PocketBeagle/TechLab
- ./accelerometer.py Traceback (most recent call last): File "./accelerometer.py", line 11, in fdx = open(path + '/in_accel_x_raw', 'r') FileNotFoundError: [Errno 2] No such file or directory: '/sys/bus/i2c/drivers/mma8452/2-001c/iio:device1/in_accel_x_raw'