tossp / redpill-tool-chain

这是一个测试项目,可能会有不可预测的事情发生(比如:毁损数据、烧毁硬件等等),请谨慎使用。
806 stars 1.89k forks source link

编译3622-7.1-42661acpid按键无法关机 #110

Closed Honanhui closed 2 years ago

Honanhui commented 2 years ago

使用的是你这里的acpid.json,驱动指向是jumkey的地址。。 https://github.com/tossp/redpill-tool-chain/raw/master/extensions/redpill-acpid.json

编译进去之后按电源键无法关机。。。。有办法解决吗???

tossp commented 2 years ago

实际情况比较复杂,无法判断原因

我在b150的主板实体和pve下正常

Honanhui commented 2 years ago

我也是b150,技嘉的。但是实体机按电源键无法关机。很奇怪,看了下代码也没什么特别的。之前用jimmyGALLAND的是可以的,我刚看到他。x更新了json支持42661,等会去测试下

tossp commented 2 years ago

jimmyGALLAND吗?我也会也集成试试,正好明天要给朋友装

Honanhui commented 2 years ago

是的,之前我用42218是没问题的,前几天我拉取他的源文件来修改json添加支持42661不行,这次他更新了我等会集成他的新驱动看看怎样

Honanhui commented 2 years ago

jimmyGALLAND最新的acpid在3622的42661下无法实现电源键关机了

tossp commented 2 years ago

会不会是,关的比较慢,你太着急了

理论上不是内核变更,应该不会失效

Honanhui commented 2 years ago

不是,我按了等好久都没反应。。我还重复了三次都一样。。

tossp commented 2 years ago

这四个基础扩展都装了吗?

./redpill_tool_chain.sh add https://github.com/tossp/redpill-tool-chain/raw/master/extensions/redpill-boot-wait.json
./redpill_tool_chain.sh add https://github.com/tossp/redpill-tool-chain/raw/master/extensions/redpill-acpid.json
./redpill_tool_chain.sh add https://github.com/tossp/redpill-tool-chain/raw/master/extensions/redpill-virtio.json
./redpill_tool_chain.sh add https://github.com/tossp/redpill-tool-chain/raw/master/extensions/redpill-misc.json
Honanhui commented 2 years ago

都扩展了。。。除了acpid是jimmyGALLAND大神的之外,其它都是用你的这个地址

tossp commented 2 years ago

倒排检查吧

先看acpid服务正常吗 再检查/usr/sbin/acpid进程是否存在

Honanhui commented 2 years ago

先看acpid服务正常吗 再检查/usr/sbin/acpid进程是否存在 这个是在资源监控-服务哪里查看吗?

tossp commented 2 years ago

需要再ssh里面看,或者建议你在线编译试试

Honanhui commented 2 years ago

这个ssh里怎么查看?可不可以提供下相关操作指令?😂😂😂 你在线编译的3622-7.1-42661或者别的版本的42661都可以实现电源键关机吗?

发自我的iPhone

在 2022年5月2日,21:28,TossPig @.***> 写道:



需要再ssh里面看,或者建议你在线编译试试

— Reply to this email directly, view it on GitHubhttps://github.com/tossp/redpill-tool-chain/issues/110#issuecomment-1114881574, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYFS3VJHBZWC5UFNAQYF5OLVH7J7ZANCNFSM5US7GCTQ. You are receiving this because you authored the thread.Message ID: @.***>

tossp commented 2 years ago

3622的 话需要你自己 改dts

ps -Af | grep acpid

Honanhui commented 2 years ago

啊,还要改这个的?dts是跟920一样要添加驱动吗?编译好dts原驱动再添加进去?

Honanhui commented 2 years ago

ds3622@ds3622:/$ ps -Af | grep acpid root 10216 1 0 23:00 ? 00:00:00 /usr/sbin/acpid root 11666 1 0 23:00 ? 00:00:00 /bin/acpid ds3622 31701 31636 0 23:09 pts/0 00:00:00 grep --color=auto acpid

输入这串命令之后显示这样。。。你看下。。我没看明白

tossp commented 2 years ago

你装了两个acpid?为什么有两个不通的进程?你重新看一下你的扩展目录,删除一个

Honanhui commented 2 years ago

我只装了jumke y大神那个acpid驱动,

发自我的iPhone

在 2022年5月3日,20:35,TossPig @.***> 写道:



你装了两个acpid?为什么有两个不通的进程?你重新看一下你的扩展目录,删除一个

— Reply to this email directly, view it on GitHubhttps://github.com/tossp/redpill-tool-chain/issues/110#issuecomment-1116049092, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYFS3VOEQ5U4RVS5XM3JJPDVIEMSDANCNFSM5US7GCTQ. You are receiving this because you authored the thread.Message ID: @.***>

tossp commented 2 years ago

不清楚你本地情况了,我配置好的在线编译是没有这问题的

Honanhui commented 2 years ago

这样子,你用jumkey大神和jimmyGALLAND大神的acpid驱动都没问题吗?3622的你也测试来?

tossp commented 2 years ago

https://github.com/pocopico/tinycore-redpill 这个项目应该更适合你的需求

Honanhui commented 2 years ago

我就是用他的编译工具来做的

liuluo1979 commented 2 years ago

在线编译的ds3622xsp 7.1.0-42661,同样在pve不能”关机“,只能粗暴”停止“或者在dsm内部关机。 同时编译的ds918p 7.1.0-42661,在pve中可以正常”关机“。