|
发表于 2016-12-10 11:10:54
只看该作者
15#
在Android ttyS1 和 ttyS3的权限要修改一下
- diff --git a/device/rockchip/common/init.connectivity.rc b/device/rockchip/common/init.connectivity.rc
- index 4957cdb..36e7c14 100755
- --- a/device/rockchip/common/init.connectivity.rc
- +++ b/device/rockchip/common/init.connectivity.rc
- @@ -59,7 +59,7 @@ on boot
-
- # bluetooth power up/down interface
- chmod 0660 /dev/ttyS0
- - chmod 0660 /dev/ttyS1
- + chmod 0666 /dev/ttyS1
- chmod 0660 /dev/vflash
- chown bluetooth net_bt_stack /dev/vflash
- chown bluetooth net_bt_stack /dev/ttyS1
- diff --git a/device/rockchip/common/ueventd.rockchip.rc b/device/rockchip/common/ueventd.rockchip.rc
- index cc1f393..9382251 100644
- --- a/device/rockchip/common/ueventd.rockchip.rc
- +++ b/device/rockchip/common/ueventd.rockchip.rc
- @@ -43,8 +43,8 @@
- /dev/compassirq 0660 system system
-
- # for GPS
- -#/dev/ttyS3 0600 gps gps
- -/dev/gps 0660 gps gps
- +/dev/ttyS3 0666 gps gps
- +#/dev/gps 0660 gps gps
-
- # for BT
- /dev/vflash 0660 bluetooth net_bt_stack
复制代码
如果还是输入不了,可以换一下串口助手,我这边试了是可以的,如有问题再反馈
|
|