cannot access /dev/ttyAMA0


I have a problem with port /dev/ttyAMA0.

I don’t know why, but I cannot write on this port.
Maybe unsifiscient permission ?

In my docker-compose.yml, I wrote this :


Also, I can see the port on terminal


It could be insufficient permissions, usually you’ll get an error “permission denied”. Otherwise, it could be a baud rate mismatch. Also, there is a document that might help with serial (and other) communication on balena devices: I2C and Other Interfaces - Balena Documentation
Finally, we also have a device debugging masterclass for general help with troubleshooting.

Apologies for the delay, hopefully this information was helpful.

Thank you the problem has been solved