xtm123456 发表于 2015-12-31 11:16

修改了DSDT,但电源图标显示为“叉”

我按照置顶帖的电池电量解决方案中的[教程] (重新修正)dsdt之BAT修改 for AppleACPIBatteryManager.kext ,修改了DSDT,然后用了ACPIBatteryManager.kext,但是电源图标显示为叉 。请问是什么原因呢?怎么修改?下面附上我的电源情况和DSDT。


非常感谢

haotiangood 发表于 2015-12-31 19:24

最好讲清楚电脑型号 配置 ,最好连ssdt一块发上来

xtm123456 发表于 2016-1-1 09:29

修改了DSD电源图标显示为“叉”

haotiangood 发表于 2015-12-31 19:24 https://www.pcbeta.com/static/image/common/back.gif
最好讲清楚电脑型号 配置 ,最好连ssdt一块发上来


新年快乐哈~谢谢提醒。我的电脑信息是
OS

另外小太阳正常
win下

我的SSDT(之前没用过,昨天用AIDA提取的)是

haotiangood 发表于 2016-1-1 12:55

xtm123456 发表于 2016-1-1 09:29 https://www.pcbeta.com/static/image/common/back.gif
新年快乐哈~谢谢提醒。我的电脑信息是
OS


你的dsdt里面16位的数据都拆分过了,没有问题,你检查一下是不是调用b1b2的语句写错了,另外能提供没修改电池的dsdt吗

xtm123456 发表于 2016-1-1 15:14

haotiangood 发表于 2016-1-1 12:55 https://www.pcbeta.com/static/image/common/back.gif
你的dsdt里面16位的数据都拆分过了,没有问题,你检查一下是不是调用b1b2的语句写错了,另外能提供没修改 ...

这是拆分前的DSDT

我用的B1B2是
Method (B1B2, 2, NotSerialized)
    {
      Or (ShiftLeft (Arg1, 0x08), Arg0, Local0)
      Return (Local0)
    }和[教程] (重新修正)dsdt之BAT修改 for AppleACPIBatteryManager.kext中的16拆8的时一样的。
我突然想起我之前修改DSDT的时候,按网上的修改方法用\PR.替换了报错的^^^^(修改后就没报错了,修改是为了读取显卡),不知道这个会不会影响。

haotiangood 发表于 2016-1-2 17:54

xtm123456 发表于 2016-1-1 15:14 https://www.pcbeta.com/static/image/common/back.gif
这是拆分前的DSDT

我用的B1B2是


请测试http://pan.baidu.com/s/1kUik5If

xtm123456 发表于 2016-1-2 20:30

haotiangood 发表于 2016-1-2 17:54 https://www.pcbeta.com/static/image/common/back.gif
请测试http://pan.baidu.com/s/1kUik5If

谢谢了!不过还是不行,电源哪个位置还是叉。电池还是没有检测出来。


xtm123456 发表于 2016-1-2 20:44

本帖最后由 xtm123456 于 2016-1-2 20:45 编辑

haotiangood 发表于 2016-1-2 17:54 https://www.pcbeta.com/static/image/common/back.gif
请测试http://pan.baidu.com/s/1kUik5If
还是不行。电池那里还是写得叉,系统信息那里看不到电池的信息。
这是我的config.plist   http://pan.baidu.com/s/1jHmWw8Q和clover   http://pan.baidu.com/s/1hriWFNA
不知道对解决问题有没有帮助。


haotiangood 发表于 2016-1-3 08:24

xtm123456 发表于 2016-1-2 20:44 https://www.pcbeta.com/static/image/common/back.gif
还是不行。电池那里还是写得叉,系统信息那里看不到电池的信息。
这是我的config.plist   http://pan.ba ...

看一下ACPIBatteryManager加没加载,不应该没用啊

xtm123456 发表于 2016-1-3 10:17

haotiangood 发表于 2016-1-3 08:24 https://www.pcbeta.com/static/image/common/back.gif
看一下ACPIBatteryManager加没加载,不应该没用啊

应该是加载了的
我试了rehabman的11.9的和12.30的,似乎都不行,还是老样子。

xtm123456 发表于 2016-1-7 13:05

再帮自己顶一下。

goodvilin 发表于 2016-1-7 16:44

我和你的情况是一样的,目前我准备更新一下kext看一下,我用的是这个帖子里面的kext
https://bbs.pcbeta.com/viewthread-1656507-2-2.html
你可以试试 我还没试呢 一会告诉你效果

xtm123456 发表于 2016-1-7 17:04

goodvilin 发表于 2016-1-7 16:44 https://www.pcbeta.com/static/image/common/back.gif
我和你的情况是一样的,目前我准备更新一下kext看一下,我用的是这个帖子里面的kext
http://bbs.pcbeta.co ...

我用过,不行。但我不知道是不是因为我的其他设置等有问题而造成的。所以你也可以试试。
另外,推荐一个Rehabman的kext网站
https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads
上面有很多的版本,你可以试试哈

Fresh-guy-Mar 发表于 2016-4-13 23:03

我的bat0什么都没有,楼主知道怎么办吗?

13469977015002 发表于 2016-4-13 23:12

本帖最后由 13469977015002 于 2016-4-13 23:13 编辑

# From Rehabman version 2.0

#Maintained by: dxxs for: 派奇
#battery_statu_0%_fix.txt

#Update time: 2014-7-15

# 修复电池电量获取为 0% 的问题

#Maintained by: RehabMan for: Laptop Patches
#system_Mutex.txt

#
# Some DSDTs use Mutex objects with non-zero a SyncLevel.Evidently,
# OS X has some difficulty with this part of the ACPI spec, either that
# or the DSDTs are, in fact, codec incorrectly and Windows is ignoring
# it.

# The common result of a non-zero SyncLevel is failure of methods at the
# point of Acquire on the mutext in question.This can result in strange
# behavior, failed battery status, or other issues.
#
# This patch corrects all Mutex objects declared with a non-zero
# SyncLevel to use zero.
#

# 2x as there is some sort of MaciASL bug...
# (code_regex_not seems broken)
#into_all all code_regex_not Mutex\s+\([^,]*,\s+0x00\) code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
#into_all all code_regex_not Mutex\s+\([^,]*,\s+0x00\) code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;

# 10x as workaround for MaciASL bug...
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;

13469977015002 发表于 2016-4-13 23:14

xtm123456 发表于 2016-1-7 17:04 https://www.pcbeta.com/static/image/common/back.gif
我用过,不行。但我不知道是不是因为我的其他设置等有问题而造成的。所以你也可以试试。
另外,推荐一个 ...

试试这个补丁

qwe123cjl 发表于 2017-2-10 12:28

帮顶 我也是这个问题
页: [1]
查看完整版本: 修改了DSDT,但电源图标显示为“叉”