主题 : android在板子上自动关机 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 15570
精华: 0
发帖: 28
金钱: 140 两
威望: 28 点
贡献值: 0 点
综合积分: 56 分
注册时间: 2010-03-07
最后登录: 2010-06-28
楼主  发表于: 2010-05-06 22:10

 android在板子上自动关机

在终端启动后出现

init: cannot open '/initlogo.rle'
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
sh: can't access tty; job control turned off
# warning: `rild' uses 32-bit capabilities (legacy support in use)

然后就会自动关机
这是什么原因?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-05-07 10:20
Android需要内核提供power supply class驱动用于侦测电池电量。你可以参考这个实现:
http://gitorious.org/opencsbc/linux/commit/7cc4278b294199c9259d45d3c44d9f4b56272d60
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."