用UART1打印log为啥最后输出No controlling tty (open /dev/tty: No such device o...
时间:10-02
整理:3721RD
点击:
RT
平台是6577
具体信息如下:
[ 4.756678] (0)[1:init]BOOTPROF: 4756.667461:INIT: eng build setting
[ 4.757616] (0)[1:init]init: starting 'xlogboot'
[ 4.768310] (0)[1:init]init: starting 'servicemanager'
[ 4.769609] (0)[1:init]init: starting 'vold'
[ 4.770804] (0)[1:init]init: starting 'ccci_fsd'
[ 4.771694] (0)[1:init]init: starting 'ccci_mdinit'
/system/bin/sh: No controlling tty (open /dev/tty: No such device or address)
/system/bin/sh: warning: won't have full job control
搞的后面的log都看不到,有没有办法解决啊?
平台是6577
具体信息如下:
[ 4.756678] (0)[1:init]BOOTPROF: 4756.667461:INIT: eng build setting
[ 4.757616] (0)[1:init]init: starting 'xlogboot'
[ 4.768310] (0)[1:init]init: starting 'servicemanager'
[ 4.769609] (0)[1:init]init: starting 'vold'
[ 4.770804] (0)[1:init]init: starting 'ccci_fsd'
[ 4.771694] (0)[1:init]init: starting 'ccci_mdinit'
/system/bin/sh: No controlling tty (open /dev/tty: No such device or address)
/system/bin/sh: warning: won't have full job control
搞的后面的log都看不到,有没有办法解决啊?
看 LOG 的意思是 没有权限
怎么改权限,在哪里改?
是工程模式编译的
你直接用adb命令该tty的权限就行了!如果是这个问题的话 可以直接在init.rc加上改变权限的命令
怎么改权限?
百度 chmod命令的用法