九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 5078|回复: 1
打印 上一主题 下一主题

关于x210 android 2.3终结版源码打开串口权限的问题

[复制链接]
跳转到指定楼层
楼主
发表于 2012-12-17 10:10:44 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
之前我使用光盘里的android 2.3源码编译后在android根目录下执行./ramdisk.sh,然后在init.rc中加入下列代码:
    chmod 0777/dev/s3c2410_serial0
    chmod 0777/dev/s3c2410_serial1
    chmod 0777/dev/s3c2410_serial2
    chmod 0777/dev/s3c2410_serial3
更新x210-uramdisk.img后重新烧写镜像,就可以正常使用x210的串口,可是我使用终结版源码,在\device\samsung\smdkv210中的init.rc中添加上述的代码,编译完成后在android根目录下执行./android_cpio.sh,在解压后的init.rc中可以看到:
    chmod 0777/dev/s3c2410_serial0
    chmod 0777/dev/s3c2410_serial1
    chmod 0777/dev/s3c2410_serial2
    chmod 0777/dev/s3c2410_serial3
可是烧写镜像后,使用串口,机器提示没有权限,请教是什么原因?



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-5-28 22:27 , Processed in 0.017211 second(s), 16 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表