Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix _PLD and X220 battery patches seems to not work #93

Closed
PSzczepanski1996 opened this issue Mar 19, 2020 · 3 comments
Closed

Fix _PLD and X220 battery patches seems to not work #93

PSzczepanski1996 opened this issue Mar 19, 2020 · 3 comments

Comments

@PSzczepanski1996
Copy link

PSzczepanski1996 commented Mar 19, 2020

So, initially I had error 8302, 6105, Invalid object type for reserved name (_PLD: found Buffer, Package required) and I tried to fix it using Fix _PLD... from your patches, but it seems to be not working (not working regex due to new standards?). Then I went to Gentoo forums and found this:
https://forums-web2.gentoo.org/viewtopic-t-1098226-start-0.html
So I managed to fix _PLD error, but then I got these:
image

And fixing them using X220 battery patches is not working, I'm not familiar with MaciASL patches so I now I don't know how to fix them, also I am using this version of MaciASL:
https://github.com/acidanthera/MaciASL

@PSzczepanski1996
Copy link
Author

PSzczepanski1996 commented Mar 19, 2020

@PSzczepanski1996
Copy link
Author

Seems that iasl needs -dl -da command line arguments to get correct dump, I assume this as fixed then.

@kommtzeitkonrad
Copy link

The patch you are looking for can be found here: kylon@60b3b99

# ToPLD
into_all all code_regex (Name\s*\(_PLD,\s*)(ToPLD\s*\([^\)]*\)) replaceall_matched
begin
%1Package() { %2 }
end;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants