Hello Experts
My USB controller is PCI enumerated device.
There is requirement in windows w.r.t to BusQueryContainerID implementation. When we get a call to BusQueryContainerID, we need to follow steps specified in the link https://msdn.microsoft.com/en-in/library/windows/hardware/ff546243(v=vs.85).aspx
But i am stuck at the place on how to read the ACPI space methods like _UPC and _PLD method for devices connected to port. Consider the case we have a device connected to PORT5, when i get a call to BusQueryContainerID , how can i read the ACPI code for this specific port ?
sample ACPI code :
Device(PRT5)
{
Name(_ADR,0x0000005)
Name(_UPC, Package(){
0x00, // Port is no connectable
0xFF, // Proprietary connector
0x00000000, // Reserved 0 - must be zero
0x00000000}) // Reserved 1 - must be zero
Device(IUBT)//USB Hub2 BT
{
Name(_ADR,0x00000001)
Name(_STA, 0xF)
Name(_UPC, Package(){
0xFF, // Port is connectable
0xFF, // Proprietary connector
0x00000000, // Reserved 0 - must be zero
0x00000000}) // Reserved 1 - must be zero
Method(_PLD,0,Serialized) {
Name(PLDP, Package() {
Buffer(0x14){
0x82,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x24,0x01,0x00,0x00,//{[77:74]Unknow,[73:72]Left,[70:71]Lower,[69:67]Left,[64]Visiable}
0x00,0x00,0x00,0x00,
0xFF,0xFF,0xFF,0xFF}
})
Return (PLDP)
}
}
Device(UCAM)//USB Hub2 Webcam
{
Name(_ADR,0x0000002)
Name(_STA, 0xF)
Name(_UPC, Package(){
0xFF, // Port is connectable
0xFF, // Proprietary connector
0x00000000, // Reserved 0 - must be zero
0x00000000}) // Reserved 1 - must be zero
Method(_PLD,0,Serialized) {
Name(PLDP, Package() {
Buffer(0x14){
0x82,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x24,0x01,0x00,0x01,//{[77:74]Unknow,[73:72]Left,[70:71]Lower,[69:67]Left,[64]Visiable}
0x00,0x00,0x00,0x00,
0xFF,0xFF,0xFF,0xFF}
})
Return (PLDP)
}
Thanks,
Jagadish