27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

Example<br />

Scope( \_SB) {<br />

…<br />

Device(PCI0) {<br />

…<br />

Device( USB0) {<br />

Name(_ADR, 0xyyyyzzzz)<br />

Device(RHUB) {<br />

Name(_ADR, 0x00000000)<br />

Device(PRT1) {<br />

Name(_ADR, 0x00000001)<br />

// Host controller (EHCI)<br />

// PCI device#/Function# for this HC. Encoded as specified in the ACPI<br />

// specification<br />

// Root hub device for this HC #1.<br />

// must be zero for USB root hub<br />

// Root hub, port 1<br />

// USB port configuration object. This object returns the system<br />

// specific USB port configuration information for port number 1<br />

// Must match the _UPC declaration for USB1.RHUB.PRT1 as it is this<br />

// host controller’s companion<br />

Name( _UPC, Package(){<br />

0xFF,<br />

// Port is connectable<br />

0x00, // Connector type – Type ‘A’<br />

0x00000000, // Reserved 0 – must be zero<br />

0x00000000})<br />

// Reserved 1 – must be zero<br />

// provide physical port location info for port 1<br />

// Must match the _UPC declaration for USB1.RHUB.PRT1 as it is this<br />

// host controller’s companion<br />

Name( _PLD, Package(1) {<br />

Buffer(0x14) {<br />

0x82,0x00,0x00,0x00, // Revision 2, Ignore color<br />

// Color (ignored), width <strong>and</strong> height not<br />

0x00,0x00,0x00,0x00, // required as this is a st<strong>and</strong>ard USB ‘A’<br />

// type connector<br />

0xa1,0x10,0x00,0x00, // User visible, front panel, Vertical<br />

// lower, horz. Left, shape = horz. Rect.<br />

0x03,0x00,0x00,0x00, // ejectable, needs OPSM eject assistance<br />

0xFF,0xFF,0xFF,0xFF})} // Vert. <strong>and</strong> Horiz. Offsets not supplied<br />

} // Device( PRT1)<br />

//<br />

// Define other ports, control methods, etc<br />

…<br />

…<br />

} // Device( RHUB)<br />

} // Device( USB0)<br />

Device( USB1) {<br />

Name(_ADR, 0xyyyyzzzz)<br />

Device(RHUB) {<br />

Name(_ADR, 0x00000000)<br />

// Companion Host controller (OHCI or UHCI)<br />

// PCI device#/Function# for this HC. Encoded as specified in the ACPI<br />

// specification<br />

// Root hub device for this HC #1.<br />

// must be zero for USB root hub<br />

// Root hub, port 1<br />

530 April, 2015 Version 6.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!