First time poster and new to Balena OS in general so I apologize in advanced if this topic isn’t in the right place. I’m having trouble getting a Raspberry Pi 4 setup with a 1-wire ds18b20. After setting up a simple circuit I followed the instructions here https://www.balena.io/docs/learn/develop/hardware/i2c-and-spi/ to enable the 1-wire interface.
Nothing is showing in the /sys/bus/w1/devices folder and it seems like the config.txt file never saves the appended line dtoverlay=w1-gpio - I’ve tried powering off the Pi and editing the resin-boot/config.txt file directly on a different computer and I have also tried with the Pi powered up, remounting the filesystem with read+write and editing the config.txt that way too.
The circuit with the ds18b20 has been tested on a Raspberry Pi 3 and Raspberry Pi zero both running Rasbian Buster and it worked fine for both of these devices, and also worked fine when running Balena OS, just not the RPi4 while running Balena OS. I understand Balena somewhat recently started supporting the RPi4 so maybe this interface isn’t completely configured yet? I should mention too when running modprobe w1-gpio && modprobe w1-therm there is no output so those modules seem to be enabled ok, just not showing any w1 devices.