Accessing RS485 Interface on Compulab IOTDIN-IMX8P with Balena

Hello Forum,

I am currently evaluating the Compulab IOTDIN-IMX8P device with Balena. The provisioning and flashing processes were straightforward. However, I am encountering an issue with accessing the RS485 interface within a container.

On other hardware, I typically map the device in the docker-compose.yml file (e.g., /dev/ttyRS485:/dev/ttyRS485 with privileged: true), and the interface becomes accessible inside the container. On this device, though, while /dev/ttyRS485 is available on the HostOS, it does not appear inside the container after being mapped in the compose file.

Is there a specific configuration or hardware label required for accessing the RS485 interface on the Compulab IOTDIN-IMX8P?

Any guidance would be greatly appreciated.

Best regards,
Timo

Hi @TimoAtMUV, if the device node is available in the hostOS, using the devices: field in your composition for a specific service should make it available to the container.

Could you provide the compose file you are using?

1 Like