I’m using SC200R with Android 10 BSP. When I sent data on UART1 (ttyMSM1) , I’m getting permission denied error. Please help to resolve this issue.
Input:
echo “Aj” > /dev/ttyMSM1
Error:
/system/bin/sh: can’t create /dev/ttyMSM1: Permission denied
Hi aravinthkumarj1,
it need extract the permission, i think you can close selinux permission to test first.
adb shell
su
setenforce 0
Now I’m not getting permission failed. But I didn’t receive data on UART.
Is there a predefined way to test UART.? Any application do we have.?