You are not telling me new stuff
Since we are all offtopic here, but for educational purpose:
QUOTE
6.1.8 _SUN (Slot User Number)
_SUN is an object that evaluates to the slot-unique ID number for a slot. _SUN is used by OSPM UI to
identify slots for the user. For example, this can be used for battery slots, PCI slots, PCMCIA slots, or
swappable bay slots to inform the user of what devices are in each slot. _SUN evaluates to an integer that is
the number to be used in the user interface.
Arguments:
None
Return Value:
An Integer containing the slot’s unique ID
The _SUN value is required to be unique among the slots of the same type. It is also recommended that this
number match the slot number printed on the physical slot whenever possible.
Now look on DSDTSE code under SATA is: Name (_SUN,
One)
That is wrong and the provided code has a "}" missing, also you should specify that secondary SATA(SAT1, IDE2 etc.) should be removed, or the stuff from it b/c they are related in most cases:
CODE
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090730 [Aug 20 2009]
Copyright © 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0
/Users/xyz/Desktop/P6T6 New Stuff/P6T6-WS-0001/Original.dsl 6104: Return (Concatenate (RETB, FZTF))
Error 4063 - Object does not exist ^ (FZTF)
ASL Input: /Users/xyz/Desktop/P6T6 New Stuff/P6T6-WS-0001/Original.dsl - 12160 lines, 383127 bytes, 5218 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
The code should look IMO like this:
CODE
Device (SATA)
{
Name (_ADR, 0x001F0002)
Device (PRT0)
{
Name (_ADR, 0xFFFF)
Method (_GTF, 0, NotSerialized)
{
Name (PIB0, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5
})
Return (PIB0)
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (PRT1)
{
Name (_ADR, 0x0001FFFF)
Method (_GTF, 0, NotSerialized)
{
Name (PIB1, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xF5
})
Return (PIB1)
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 2"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (PRT2)
{
Name (_ADR, 0x0002FFFF)
Method (_GTF, 0, NotSerialized)
{
Name (PIB2, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5
})
Return (PIB2)
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 3"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (PRT3)
{
Name (_ADR, 0x0003FFFF)
Method (_GTF, 0, NotSerialized)
{
Name (PIB3, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xF5
})
Return (PIB3)
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 4"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (PRT4)
{
Name (_ADR, 0x0004FFFF)
Method (_GTF, 0, NotSerialized)
{
Name (PIB4, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5
})
Return (PIB4)
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 5"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (PRT5)
{
Name (_ADR, 0x0005FFFF)
Method (_GTF, 0, NotSerialized)
{
Name (PIB5, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xF5
})
Return (PIB5)
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 6"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
}