please choosego to mobile | Continue to access the PC version
View: 6991|Reply: 33

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-2-11 21:57:10 | Show all floors
After study a handful of the blog articles on your own website now, i genuinely as if your method of blogging. I bookmarked it to my bookmark site list and will be checking back soon. Pls take a look at my web site at the same time and tell me what you think.        청량리출장안마
Published in 2024-2-22 19:49:36 | Show all floors
I was examining some of your content on this website and I believe this web site is real informative! Keep posting.        [url= http://63.250.38.170/download/]pkv qq[/url]
Published in 2024-2-23 19:59:59 | Show all floors
Rapid each of our internet site probably will without doubt come to be reputed using the majority of functioning a new web site people, for the thoughtful content pieces as well as assessment content.        betslot88
Published in 2024-2-24 19:30:56 | Show all floors
Superior post, keep up with this exceptional work. It's nice to know that this topic is being also covered on this web site so cheers for taking the time to discuss this! Thanks again and again!        kết quả bongdanet
Published in 2024-2-24 20:00:07 | Show all floors
Can I just say what a relief to seek out someone who actually is aware of what theyre talking about on the internet. You undoubtedly know the way to bring an issue to light and make it important. More folks have to read this and understand this aspect of the story. I cant believe youre not more popular because you positively have the gift.        jun88.bike
Published in 2024-2-28 14:26:56 | Show all floors
I’ve been exploring for a bit for any high-quality articles or weblog posts in this kind of house . Exploring in Yahoo I eventually stumbled upon this web site. Studying this information So i’m satisfied to show that I have an incredibly just right uncanny feeling I found out exactly what I needed. I most for sure will make certain to do not disregard this website and provides it a look a relentless basis.        OPINI PIX
Published in 2024-2-28 17:45:42 | Show all floors
The the next time I just read a blog, I hope so it doesnt disappoint me around this place. After all, It was my option to read, but When i thought youd have something fascinating to mention. All I hear is often a few whining about something that you could fix should you werent too busy looking for attention.        Códigos lucrativos
Published in 2024-2-28 19:44:01 | Show all floors
I am glad that I found this web blog, just the right info that I was looking for!        gà sv388
Published in 2024-2-28 23:40:44 | Show all floors
I like a persons site. It is actually better than watch absolutely everyone explain in words around the life blood coupled with legibility during this matter vital vicinity are frequently suitably noticed.        Weed Vape Cartridges
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list