Contribute
Register

How to fix this error “Invalid type (Target is [Package], Source must be a package also)”

Status
Not open for further replies.
Joined
Feb 8, 2016
Messages
38
Motherboard
Intel HM86
CPU
Intel core i7 Haswell cpu [email protected](ES)
Graphics
Intel HD 4600
Mobile Phone
  1. Android
i can't to find a guide to fix this error,is there anyone to help me? thanks for advance
Method (RBLK, 3, Serialized)
{
If (LNotEqual (Acquire (P4SM, 0xFFFF), Zero))
{
Return (Ones)
}

Store (0x05, Local0)
While (Local0)
{
If (HBSY ())
{
Decrement (Local0)
}
Else
{
Or (Arg0, One, HADR)
Store (Arg1, HCMD)
Store (0xFF, HSTS)
Store (0x54, HSTC)
If (WTSB ())
{
Store (HSTC, Local1)
Store (HDT0, Local2)
Store (Local2, Local3)
Store (Zero, RBUF)
Store (Zero, Local1)
While (Local2)
{
Store (BLKD, Index (RBUF, Local1))
Decrement (Local2)
Increment (Local1)
}

Release (P4SM)
Return (Local3)
}
Else
{
Decrement (Local0)
}
}
}

Release (P4SM)
Return (Ones)
}
}
attache is my dsdt
 

Attachments

  • DSDT.dsl.zip
    60.5 KB · Views: 237
i can't to find a guide to fix this error,is there anyone to help me? thanks for advance
Method (RBLK, 3, Serialized)
{
If (LNotEqual (Acquire (P4SM, 0xFFFF), Zero))
{
Return (Ones)
}

Store (0x05, Local0)
While (Local0)
{
If (HBSY ())
{
Decrement (Local0)
}
Else
{
Or (Arg0, One, HADR)
Store (Arg1, HCMD)
Store (0xFF, HSTS)
Store (0x54, HSTC)
If (WTSB ())
{
Store (HSTC, Local1)
Store (HDT0, Local2)
Store (Local2, Local3)
Store (Zero, RBUF)
Store (Zero, Local1)
While (Local2)
{
Store (BLKD, Index (RBUF, Local1))
Decrement (Local2)
Increment (Local1)
}

Release (P4SM)
Return (Local3)
}
Else
{
Decrement (Local0)
}
}
}

Release (P4SM)
Return (Ones)
}
}
attache is my dsdt

Just remove the line causing the error. This is actually a mistake by the person that wrote this code... The ACPI interpreter will simply ignore it and move on, so deleting it has the same effect as before this was made an error.
 
Status
Not open for further replies.
Back
Top