View: 18649|Reply: 4

Orange Pi 4G IOT ttyMT0,MT1 Serial Read Write

[Copy link]

3

threads

5

posts

82

credits

Registered member

Rank: 2

credits
82
Published in 2019-5-29 15:27:55 | Show all floors |Read mode
I'm trying to read/write serial data using Pin8 & Pin10 using android 6. but in logcat it shows this message and device restart

type=1400 audit(0.0:3110): avc: denied { write } for name="ttyMT0" dev="tmpfs" ino=47 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:ttyMT_device:s0 tclass=chr_file permissive=1
type=1400 audit(0.0:3111): avc: denied { open } for path="/dev/ttyMT0" dev="tmpfs" ino=47 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:ttyMT_device:s0 tclass=chr_file permissive=1
type=1400 audit(0.0:3112): avc: denied { ioctl } for path="/dev/ttyMT0" dev="tmpfs" ino=47 ioc


I change the permission in /dev/ttyMT0, /dev/ttyMT1 to 777. when i restart device the permission set to default.

Can anyone help me to solve this problem??
Published in 2024-5-27 22:33:24 | Show all floors
I do not even understand how I stopped up here, however I assumed this submit was once great. I do not realize who you’re but definitely you’re going to a well-known blogger if you are not already   Cheers!        Hướng dẫn đăng nhập VIN777
Published in 2024-5-30 15:54:52 | Show all floors
I should test with you here. Which isn’t something I normally do! I enjoy reading a put up that may make people think. Also, thanks for permitting me to remark!        MarketSlot
Published in 2024-6-6 21:27:43 | Show all floors
I am usually to blogging i truly appreciate your site content. Your content has truly peaks my interest. Let me bookmark your web blog and keep checking choosing information.        a course in miracles
Published in 2024-6-22 20:01:21 | Show all floors
hi there was just seeing if you minded a comment. i like your blog and the thme you picked is super. I will be back.        https://bk8v3.com/
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list