RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,016
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
Last compile
Code:/* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20171110 (64-bit version)(RM) * Copyright (c) 2000 - 2017 Intel Corporation * * Disassembling to non-symbolic legacy ASL operators * * Disassembly of iASLAUaiP9.aml, Thu Jan 11 11:50:01 2018 * * Original Table Header: * Signature "SSDT" * Length 0x00000443 (1091) * Revision 0x02 * Checksum 0xA0 * OEM ID "hack" * OEM Table ID "UIAC-ALL" * OEM Revision 0x00000000 (0) * Compiler ID "INTL" * Compiler Version 0x20171110 (538382608) */ DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0x00000000) { Device (UIAC) { Name (_HID, "UIA00000") // _HID: Hardware ID Name (RMCF, Package () { "AppleBusPowerControllerUSB", Package () { "kUSBSleepPortCurrentLimit", 0x0834, "kUSBSleepPowerSupply", 0x0A28, "kUSBWakePortCurrentLimit", 0x0834, "kUSBWakePowerSupply", 0x0C80 }, "8086_9cb1", Package() { "port-count", Buffer() { 15, 0, 0, 0 }, "ports", Package() { "HS01", Package() { "UsbConnector", 3, "port", Buffer() { 1, 0, 0, 0 }, }, "HS02", Package() { "UsbConnector", 3, "port", Buffer() { 2, 0, 0, 0 }, }, "HS07", Package () { "UsbConnector", 255, "port", Buffer (0x04) { 0x07, 0x00, 0x00, 0x00 } }, "HS08", Package() //camara { "UsbConnector", 255, "port", Buffer() { 8, 0, 0, 0 }, }, "SSP1", Package() //usb 3.0 right { "UsbConnector", 3, "port", Buffer() { 12, 0, 0, 0 }, }, "SSP2", Package() //usb3.0 left { "UsbConnector", 3, "port", Buffer() { 13, 0, 0, 0 }, }, }, }, }) } // // Disabling EHCI #1 // External(_SB.PCI0, DeviceObj) External(_SB.PCI0.LPC, DeviceObj) External(_SB.PCI0.EH01, DeviceObj) Scope(_SB.PCI0) { // registers needed for disabling EHC#1 Scope(EH01) { OperationRegion(PSTS, PCI_Config, 0x54, 2) Field(PSTS, WordAcc, NoLock, Preserve) { PSTE, 2 // bits 2:0 are power state } } Scope(LPC) { OperationRegion(RMLP, PCI_Config, 0xF0, 4) Field(RMLP, DWordAcc, NoLock, Preserve) { RCB1, 32, // Root Complex Base Address } // address is in bits 31:14 OperationRegion(FDM1, SystemMemory, Add(And(RCB1,Not(Subtract(ShiftLeft(1,14),1))),0x3418), 4) Field(FDM1, DWordAcc, NoLock, Preserve) { ,15, // skip first 15 bits FDE1,1, // should be bit 15 (0-based) (FD EHCI#1) } } Device(RMD1) { //Name(_ADR, 0) Name(_HID, "RMD10000") Method(_INI) { // disable EHCI#1 // put EHCI#1 in D3hot (sleep mode) Store(3, ^^EH01.PSTE) // disable EHCI#1 PCI space Store(1, ^^LPC.FDE1) } } } } //EOF
Finally, USB configuration looks ok.
Lid not working
You will need to provide details on "lid not working".
And you will probably need to debug your _LID method (use ACPIDebug.kext).