After hours of faillure, here my DSDT:
I've been lucky enough to have not 32Bit or Higher to recode, so i thought it seems quite easy.
I only got 16 bits
These are my 16 bit codes that are needed :
B1RA
B1PR
B1VO
B1DA
B1DF
B1DV
B1DL
First i do the following patch:
into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n
end;
So far so good, no errors
The next step is to transfer them to 8Bit pieces, so i do:
into device label H_EC code_regex B1RA,\s+16 replace_matched begin 1RA0,8,1RA1,8 end;
into device label H_EC code_regex B1PR,\s+16 replace_matched begin 1PR0,8,1PR1,8 end;
into device label H_EC code_regex B1VO,\s+16 replace_matched begin 1VO0,8,1VO1,8 end;
into device label H_EC code_regex B1DA,\s+16 replace_matched begin 1DA0,8,1DA1,8 end;
into device label H_EC code_regex B1DF,\s+16 replace_matched begin 1DF0,8,1DF1,8 end;
into device label H_EC code_regex B1DV,\s+16 replace_matched begin 1DV0,8,1DV1,8 end;
into device label H_EC code_regex B1DL,\s+16 replace_matched begin 1DL0,8,1DL1,8 end;
201+ errors, even if i do it with hand I keep getting the errors :S
Then I do the following patch which is fully ignored, so patch is not applied:
into method label GBTI code_regex \(B1DL, replaceall_matched begin (B1B2(1DL0,1DL1), end;
into method label GBTI code_regex \(B1RA, replaceall_matched begin (B1B2(1RA0,1RA1), end;
into method label GBTI code_regex \(B1PR, replaceall_matched begin (B1B2(1PR0,1PR1), end;
into method label GBTI code_regex \(B1VO, replaceall_matched begin (B1B2(1VO0,1VO1), end;
into method label GBTI code_regex \(B1DA, replaceall_matched begin (B1B2(1DA0,1DA1), end;
into method label GBTI code_regex \(B1DF, replaceall_matched begin (B1B2(1DF0,1DF1), end;
into method label GBTI code_regex \(B1DV, replaceall_matched begin (B1B2(1DV0,1DV1), end;
Still the same errors, i think i do something wrong with the offset or so?
I'm stuck sinds 3 days now grrrr.
Please can someone explain my mistakes? I'm just no DSDT Hero
Thanks!!