1.打开app访问gpio 异常 :
type=1400 audit(1956.899:283): avc: denied { write } for pid=6914 comm=4173796E635461736B202331 name="gpio" dev="tmpfs" ino=6842 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
解决办法:android 6.0之后需要在系统增加gpio的权限
1982

被折叠的 条评论
为什么被折叠?



