This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
permission app read /dev/ttyS4
#1
i have open the developer mode .
i can change root by adb . 
my question i want my app visit /dev/ttyS4 , seems it need root privilege , how to ?
Reply
#2
Hi,
same as here: https://tinkerboarding.co.uk/forum/threa...ml#pid2837
You need to 'chmod 660 /dev/ttyS4', but to have it constantly, need to modify ueventd.rk30board.rc.
Reply
#3
(12-15-2017, 07:39 AM)lobo Wrote: Hi,
same as here: https://tinkerboarding.co.uk/forum/threa...ml#pid2837
You need to 'chmod 660 /dev/ttyS4', but to have it constantly, need to modify ueventd.rk30board.rc.


hi lobo , pls show me the file path of " ueventd.rk30board.rc."  thanks.
Reply
#4
It's in the boot partition. You need to extract the boot partion as explained in the thread. There you find it in the unpacked directory.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)