Problem: During development, we run the application in ‘sudo adb shell’ mode.
During this mode, we are able to access UART for reading and writing. But during the Linux auto start (during deployment), when the application is running, we are unable to get access to UART, it is wiring on the port but not reading from the port.
We are using ttyHSL0.
In the documents it is mentioned that we will have access to both RX and TX.
It seams that it is blocked for reading from the port.
I have tried all Linux options like change mode of the port and other permissions, nothings seems to work.