Jump to content

[GUIDE] USB Fix El Capitan 10.11


829 posts in this topic

Recommended Posts

The file was disassembled incorrectly. You need to collect all DSDT.aml/SSDT*.aml in a single directory.

 

Then disassemble all as a group:

iasl -da -dl *.aml

OMG i don't know how to do it wow,

i think i will forget the USB 2.0

The file was disassembled incorrectly. You need to collect all DSDT.aml/SSDT*.aml in a single directory.

 

Then disassemble all as a group:

iasl -da -dl *.aml

BTW DSDT.aml and SSDT.aml are in one directory

Link to comment
Share on other sites

..

BTW DSDT.aml and SSDT.aml are in one directory

Not referring to SSDT.aml generated from ssdtPRgen.sh. Referring to OEM SSDTs. Extract with F4 at Clover screen (files in ACPI/origin).

Link to comment
Share on other sites

on my laptop i have 3 ports intel usb2 and i edit this kext on my own and all usb ports working.maybe can help some people.

 

 

 

USB Hi-Speed Bus:

 

  Host Controller Location: Built-in USB

  Host Controller Driver: AppleUSBEHCI

  PCI Device ID: 0x1c26 

  PCI Revision ID: 0x0005 

  PCI Vendor ID: 0x8086 

  Bus Number: 0x1a 

 

Hub:

 

  Product ID: 0x0024

  Vendor ID: 0x8087  (Intel Corporation)

  Version: 0.00

  Speed: Up to 480 Mb/sec

  Location ID: 0x1a100000 / 2

  Current Available (mA): 500

  Current Required (mA): 0

  Built-In: Yes

IOUSBHostFamily.kext.zip

Link to comment
Share on other sites

       Device (EH01)

        {

            Name (_ADR, 0x001D0000)

            OperationRegion (PWKE, PCI_Config, 0x62, 0x04)

            Field (PWKE, DWordAcc, NoLock, Preserve)

            {

                    ,   1, 

                PWUC,   8

            }

 

            Method (_PSW, 1, NotSerialized)

            {

                If (Arg0)

                {

                    Store (^^LPCB.EC0.ADPT, ^^LPCB.EC0.UWAK)

                }

                Else

                {

                    Store (Zero, ^^LPCB.EC0.UWAK)

                }

            }

 

            Method (_S3D, 0, NotSerialized)

            {

                Return (0x02)

            }

 

            Method (_S4D, 0, NotSerialized)

            {

                Return (0x02)

            }

 

            Device (HUBN)

            {

                Name (_ADR, Zero)

                Device (PR01)

                {

                    Name (_ADR, One)

                    Name (_UPC, Package (0x04)

                    {

                        0xFF, 

                        Zero, 

                        Zero, 

                        Zero

                    })

                    Name (_PLD, Package (0x01)

                    {

                        Buffer (0x10)

                        {

                            /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

                            /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00

                        }

                    })

 

 

//PR11-16 omitted

 

                    Device (PR17)    // PR17 is the eSATA/USB combo slot

                    {

                        Name (_ADR, 0x07)

                        Name (_UPC, Package (0x04)

                        {

                            0xFF, 

                            0xFF,   // I think here should be "Zero" since it's USB2 type A slot. But changing it didn't work.

                            Zero, 

                            Zero

                        })

                        Name (_PLD, Package (0x01)

                        {

                            Buffer (0x10)

                            {

                                /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

                                /* 0008 */   0xB1, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00

                            }

                        })

                        Alias (SBV2, SDGV)

                        Method (_DSM, 4, Serialized)

                        {

                            Name (T_0, Zero)

                            If (LEqual (Arg0, Buffer (0x10)

                                    {

                                        /* 0000 */   0x8F, 0x70, 0xFC, 0xA5, 0x75, 0x87, 0xA6, 0x4B,

                                        /* 0008 */   0xBD, 0x0C, 0xBA, 0x90, 0xA1, 0xEC, 0x72, 0xF8

                                    }))

                            {

                                While (One)

                                {

                                    Store (ToInteger (Arg2), T_0)

                                    If (LEqual (T_0, Zero))

                                    {

                                        If (LEqual (Arg1, One))

                                        {

                                            Return (Buffer (One)

                                            {

                                                 0x07

                                            })

                                        }

                                        Else

                                        {

                                            Return (Buffer (One)

                                            {

                                                 0x00

                                            })

                                        }

                                    }

                                    Else

                                    {

                                        If (LEqual (T_0, One))

                                        {

                                            If (LEqual (SDGV, 0xFF))

                                            {

                                                Return (Zero)

                                            }

                                            Else

                                            {

                                                Return (One)

                                            }

                                        }

                                        Else

                                        {

                                            If (LEqual (T_0, 0x02))

                                            {

                                                Return (SDGV)

                                            }

                                        }

                                    }

 

                                    Break

                                }

                            }

 

                            Return (Zero)

                        }

                    }

 

//The rest part omitted

 

 

The EH01 USB2.0 bus just disappear and of course the PR17 device won't work. Is there something wrong with the dsdt code? I didn't use any customer injectors.

Link to comment
Share on other sites

@titeet

 

i believe RehabMan was suggesting that you need to extra all the original ACPI tables. which will allow you recompile the ones you need after you make any changes.

 

the key is to disassemble the files in this group context. this way it process the files in single name space and can figure out local vs external references. 

 

so when you boot up Clover, hit F4 - this will extract all the raw tables (aml files) and puts them Clover/ACPI/origin

 

then decompile your aml files by something like this:

 

mount the ESP (EFI partition)

and then run your decompile like this:

 

cd /Volumes/ESP/EFI/CLOVER/ACPI/origin

iasl -w1 -da -dl DSDT.aml SSDT*.aml 

Link to comment
Share on other sites

@titeet

 

i believe RehabMan was suggesting that you need to extra all the original ACPI tables. which will allow you recompile the ones you need after you make any changes.

 

the key is to disassemble the files in this group context. this way it process the files in single name space and can figure out local vs external references. 

 

so when you boot up Clover, hit F4 - this will extract all the raw tables (aml files) and puts them Clover/ACPI/origin

 

then decompile your aml files by something like this:

 

mount the ESP (EFI partition)

and then run your decompile like this:

 

cd /Volumes/ESP/EFI/CLOVER/ACPI/origin

iasl -w1 -da -dl DSDT.aml SSDT*.aml 

i did that then what,sorry i am noob

i did that then what,sorry i am noob

i still can't compile

Link to comment
Share on other sites

Hello!

Trying to make port restriction on laptop.

 

Added ports to dummy kext, but USB still not working.

Can someone tell what i doing wrong?

 

SMBIOS is MacBookPro 9,2

Attached DSDT and Info.plist from DummyEHCI

 

Thanks!

 

Snymok_ekrana_2015_10_04_v_19_42_46_500.

 

Snymok_ekrana_2015_10_04_v_19_47_44_800.

Same problem here, but I'm using an iMac 13,1 SMBios.

 

In fact, ports are declared in DSDT as well in the Info.plist, but when booting El Capitan, logs show that it keeps retrying to enumerate that usb bus that doesn't work.

 

Any thoughts?

Link to comment
Share on other sites

RehabMan, is it possible to use FakePCIID_XHCIMux.kext + FakePCIID.kext (or any other method, really) without either Clover or DSDT patches?

Of course it is possible.  But FakePCIID_XHCIMux only solves one problem.  You may have other problems, which are covered by other solutions.

Link to comment
Share on other sites

@RehabMan

@pokenguyen

 

Another limit except for port injectors found in IOUSBFamily.kext

 

These are the internal devices linked to the EH01 EH02 bus.( Of course the dsdt EHC rename is done to avoid bulit-in injectors) And I use MacBookPro 9,1 for Smbios.

 

EH01---HUBN---PR01---PR17   // eSATA/USB2 2in1 combo slot.

EH02---HUBN---PR01---PR11   //BCM20702A Bluetooth

EH02---HUBN---PR01---PR12   //m17x Alienware FX control

EH02---HUBN---PR01---PR15   //Webcam

 

And there're 2 problems.

 

Problem 1: The eSATA/USB2 combo slot is invalid, even EH01 bus doesn't show up in "About this mac"---"System Report"---"USB".

 

Problem 2: After system boot, although you can see the webcam in "About this mac"---"System Report"---"USB".

 

post-740601-0-26928000-1444668639_thumb.png

                But nothing is in  "About this mac"---"System Report"---"Camera". Of course no video feed in facatime, too.

 

post-740601-0-44462300-1444668776_thumb.png

 

But I found if I make the system sleep, it will wake up immediately.( since I didn't patch the dsdt for this ) And after the wake up from the failed sleep, the camera will be back. And video feed in facetime is OK.

 

post-740601-0-75254800-1444668967_thumb.png

 

After thinking of that, I remembered something. So I tried this.

 

I edited Clover/config.plist, and changed the model in Smbios from MacbookPro 9,1 to MacPro 6,1.

 

Then after reboot, the webcam is working directly, no need to sleep and wake up.

 

I know my assumption might be right. So I found this :

 

/System/Library/Extensions/IOUSBHostFamily.kext/info.plist/IOKitPersonalities/MacBookPro 9,1/IOProviderMergeProperties

 

There're 4 items under it: kUSBSleepPortCurrentLimit ( 2100 ), kUSBSleepPowerSupply ( 2600 ), kUSBWakePortCurrentLimit ( 2100 ),kUSBWakePowerSupply ( 3200 )

 

And I checked these 4 items for MacPro 6,1. They turned out to be: kUSBSleepPortCurrentLimit ( 2100 ), kUSBSleepPowerSupply ( 4700 ), kUSBWakePortCurrentLimit ( 2100 ),kUSBWakePowerSupply ( 4700 )

 

So I changed the 4 item for MacBookPro 9,1 and made them exactly the same as MacPro 6,1 ( 2100, 4700, 2100, 4700 ), saved the change, installed the edited kext back to S/L/E with Easykext Utility. Then I changed the model in Clover/config.plist/Smbios back to MacBookPro 9,1 again.

 

And after the reboot. The webcam is working directly, no need to sleep and wake up.

 

Now I assume the 4 items are some kind of limit set by Apple to limit the power supply for USB bus. And each model ( identified from Smbios ) has its set. Sometimes this kind of limit could cause problems. 

 

How ever for the eSATA/USB2 2in1 combo slot there's still no clue. Could you check the dsdt code and give some suggestions ? ( More information and related files about this problem could be found in post 460, 462, 473 and 484 )

Link to comment
Share on other sites

OK It work with the VCH888 method ! So what i've done :

USBXHCI : Dummy with restriction port (Rename XHC1 to XHC, add port with the help of Ioregistry explorer, and change 0x8c318086 to 0x8cb18086 in dummy kext.

USBEHCI  : Disable kUSBMuxEnabled in ECH1 and ECH2

 

Thank you to all ! 

So, I will translate this method in macbidouille forum.

 

Edit : I add my 2 kext, if someone with a MSI Z97 gaming 5 needs it.

 

Maybe you can help me. I am using a MSI Gaming 9 board and a lot of it seems very similar to yours except I don't have any USB2 ports on the back not sure if the top two red ports are USB2 or 3. Do I need to do anything, other than put the two kext that you provided into /EFI/Clover/kext/10.11/? Also, I am using an iMac14,2 SMBIOS.

Link to comment
Share on other sites

So based on this screen shot below, this fix likely won't work for me since most of my external USB3 connections are not Intel chipsets? The ASM107x appears to just be a hub connected to the Intel Chipset though.

 

Screen%20Shot%202015-10-14%20at%2012.50.

 

The ASM1042 chipset/controller seems to work natively. The ASM107x hub all report as USB2 even when there is a 3.0 device connected.

Screen%20Shot%202015-10-14%20at%2012.56.

Someone please help me, this is all beyond my knowledge but I love to learn!

Link to comment
Share on other sites

You have to rename EHC1/2 to EH01/2 and/if XHC1 to XHC in your DSDT

I just installed a USB 3.0 PCIe card with a ASM1042a controller that works natively in Yosemite but is causing a booting error and reboot when I connect the external devices to the ports prior to turning on the PC. However, the devices are recognized and seem to work if I connect them after the initial booting stages. Does any of you have an idea about the fix that I should apply? My USB 2.0 built-in ports work well after DSDT patch to rename EHC1 and EHC2 and the SSDT patch that Rehabman suggest in his github project.

Link to comment
Share on other sites

How can i compile a DSDT file?

When i am trying to with iALS i get a big list with errors..... i had this before in Yosemite but i after using a ACPI kext the problem was solved but i can not remember wich kext i used and on yosemite everything worked alo fine without and without DSDT so i never used it.

I tried edditing the dummykext but after that none of my usb ports worked any more....

 

What is a good tool to get a DSDT?

 

Also i had to patch my bios to get OSX started

Link to comment
Share on other sites

I have had the sleep / wake trouble before 10.11 on toshiba rig. 8 series laptop i7-4510u. 1920x1080. Usb appears to be working ok and w/bcm94352 bluetooth on el cap. Also if machine sleeps for longer tends to happen more often and will wake after 3 or more hours. 

 

I have these settings, in case it rules anything out:

 

Active Profiles:

Battery Power -1*

AC Power -1

Currently in use:

 standbydelay         10800

 standby              0

 halfdim              0

 hibernatefile        /var/vm/sleepimage

 powernap             0

 disksleep            10

 sleep                5

 autopoweroffdelay    14400

 hibernatemode        0

 autopoweroff         1

 ttyskeepawake        0

 displaysleep         5

 lidwake              1

 

and some log sample:

 

eridlesleep" 00:19:19  id:0x0x10000048e [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context219.preventuseridledisplaysleep" 00:19:19  id:0x0x500000491 [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context219.preventuseridlesleep" 00:19:19  id:0x0x100000490 [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context220.preventuseridledisplaysleep" 00:19:19  id:0x0x500000493 [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context220.preventuseridlesleep" 00:19:19  id:0x0x100000492 [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context201.preventuseridledisplaysleep" 00:19:20  id:0x0x50000045f [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context201.preventuseridlesleep" 00:19:20  id:0x0x10000045e [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context202.preventuseridledisplaysleep" 00:19:20  id:0x0x500000461 [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context202.preventuseridlesleep" 00:19:20  id:0x0x100000460 [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context203.preventuseridledisplaysleep" 00:19:20  id:0x0x500000463 [system: No Assertions]          

2015-10-14 23:36:48 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSl

Time stamp                Domain              Message                                                                    Duration  Delay     

==========                ======              =======                                                                    ========  =====     

UUID: ECE9FAA2-5486-4D65-8C66-B87E94CF7024

2015-10-14 23:37:14 -0700 Notification        Display is turned off                                                                

2015-10-14 23:37:14 -0700 Assertions          Kernel Idle sleep preventers: -None-          

2015-10-14 23:37:14 -0700 Assertions          PID 56(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000005bd [system: SRPrevSleep kCPU]          

2015-10-14 23:37:29 -0700 Assertions          PID 56(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000005bd [system: SRPrevSleep kCPU]          

2015-10-14 23:37:29 -0700 Sleep               Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:86%) 4324 secs 

2015-10-14 23:37:31 -0700 PM Client Acks      Delays to Sleep notifications: [com.apple.apsd is slow(1595 ms)]           

2015-10-15 00:49:32 -0700 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          

2015-10-15 00:49:32 -0700 Notification        Display is turned on                                                                 

2015-10-15 00:49:32 -0700 Assertions          PID 93(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000005ca [system: No Assertions]          

2015-10-15 00:49:32 -0700 Assertions          PID 93(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd000005ca [system: No Assertions]          

2015-10-15 00:49:33 -0700 Wake                Wake [CDNVA] due to PWRB XHC/Lid Open: Using BATT (Charge:85%) 575 secs  

2015-10-15 00:49:33 -0700 Kernel Client Acks  Delays to Wake notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 2)(365 ms)] [rehab_ACPIBatteryManager driver is slow(msg: SetState to 1)(500 ms)] [AppleSMBusControllerICH driver is slow(msg: SetState to 1)(497 ms)] [ApplePS2Controller driver is slow(msg: SetState to 2)(569 ms)] [AppleMEClientController driver is slow(msg: SetState to 1)(605 ms)]           

2015-10-15 00:50:48 -0700 Assertions          PID 1079(AddressBookSourceSync) Released PreventUserIdleSystemSleep "Address Book Source Sync" 00:01:03  id:0x0x1000005fd [system: No Assertions]          

2015-10-15 00:50:48 -0700 Assertions          PID 1024(UserEventAgent) Released BackgroundTask "com.apple.AddressBook.ScheduledSync" 00:01:00  id:0x0xb00000628 [system: No Assertions]          

2015-10-15 00:51:14 -0700 Assertions          PID 78(apsd) Released ApplePushServiceTask "com.apple.apsd-login" 00:01:30  id:0x0xb000005d8 [system: No Assertions]          

2015-10-15 00:53:30 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep  -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context302.preventuseridledisplaysleep" 00:07:55  id:0x0x50000063e [system: No Assertions]          

2015-10-15 00:57:44 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context302.preventuseridlesleep" 00:07:55  id:0x0x10000063d [system: No Assertions]          

2015-10-15 00:57:44 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context303.preventuseridledisplaysleep" 00:07:55  id:0x0x500000640 [system: No Assertions]          

2015-10-15 00:57:44 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context303.preventuseridlesleep" 00:07:55  id:0x0x10000063f [system: No Assertions]          

2015-10-15 00:57:44 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context304.preventuseridledisplaysleep" 00:07:55  id:0x0x500000642 [system: No Assertions]          

2015-10-15 00:57:44 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context304.preventuseridlesleep" 00:07:55  id:0x0x100000641 [system: No Assertions]          

2015-10-15 00:57:44 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context305.preventuseridledisplaysleep" 00:07:55  id:0x0x500000644 [system: No Assertions]          

2015-10-15 00:57:44 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context305.preventuseridlesleep" 00:07:55  id:0x0x100000643 [system: No Assertions]          

2015-10-15 00:57:44 -0700 Assertions          PID 195(coreaudiod) Released PreventUserIdleD                     Duration  Delay     

==========                ======              =======                                                                    ========  =====     

UUID: 77FEF7F1-BDFA-4376-8107-32744BE37014

2015-10-15 00:58:33 -0700 Notification        Display is turned off                                                                

2015-10-15 00:58:33 -0700 Assertions          Kernel Idle sleep preventers: -None-          

2015-10-15 00:58:33 -0700 Assertions          PID 56(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000006f1 [system: SRPrevSleep kCPU]          

2015-10-15 00:58:34 -0700 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          

2015-10-15 00:58:34 -0700 Notification        Display is turned on                                                                 

2015-10-15 00:58:34 -0700 Kernel Client Acks  Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(373 ms)]           

2015-10-15 00:58:48 -0700 Assertions          PID 56(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000006f1 [system: SRPrevSleep kCPU]          

Sleep/Wakes since boot at 2015-10-14 21:46:33 -0700 :0   Dark Wake Count in this sleep cycle:0

 

Time stamp                Domain              Message                                                                    Duration  Delay     

==========                ======              =======                                                                    ========  =====     

UUID: A8A53A0C-817B-41B1-BC00-B2D9BD9C1938

2015-10-15 00:58:53 -0700 Notification        Display is turned off                                                                

2015-10-15 00:58:53 -0700 Assertions          Kernel Idle sleep preventers: -None-          

2015-10-15 00:58:53 -0700 Assertions          PID 56(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000006fe [system: SRPrevSleep kCPU]          

2015-10-15 00:59:08 -0700 Assertions          PID 56(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000006fe [system: SRPrevSleep kCPU]          

2015-10-15 00:59:08 -0700 Sleep               Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:82%)           

2015-10-15 00:59:10 -0700 PM Client Acks      Delays to Sleep notifications: [com.apple.apsd is slow(1920 ms)]           

2015-10-15 06:04:18 -0700 Kernel Client Acks  Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(349 ms)]           

2015-10-15 06:04:18 -0700 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          

2015-10-15 06:04:18 -0700 Notification        Display is turned on                                                                 

2015-10-15 06:04:18 -0700 Assertions          PID 93(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd0000070b [system: No Assertions]          

2015-10-15 06:04:21 -0700 Assertions          PID 93(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:03  id:0x0xd0000070b [system: No Assertions]          

Sleep/Wakes since boot at 2015-10-14 21:46:33 -0700 :3   Dark Wake Count in this sleep cycle:0

 

Time stamp                Domain              Message                                                                    Duration  Delay     

==========                ======              =======                                                                    ========  =====     

UUID: (null)

2015-10-15 06:56:00 -0700 Start               powerd process is started                                                            

2015-10-15 06:56:00 -0700                     Summary- [system: No Assertions] Using Batt(Charge: 71)                              

2015-10-15 06:56:18 -0700 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context88.preventuseridledisplaysleep" 00:01:07  id:0x0x50000014c [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context88.preventuseridlesleep" 00:01:07  id:0x0x10000014b [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context89.preventuseridledisplaysleep" 00:01:07  id:0x0x50000014e [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context89.preventuseridlesleep" 00:01:07  id:0x0x10000014d [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context90.preventuseridledisplaysleep" 00:01:07  id:0x0x500000150 [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context90.preventuseridlesleep" 00:01:07  id:0x0x10000014f [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context91.preventuseridledisplaysleep" 00:01:07  id:0x0x500000152 [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context91.preventuseridlesleep" 00:01:07  id:0x0x100000151 [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context92.preventuseridledisplaysleep" 00:01:06  id:0x0x500000154 [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context92.preventuseridlesleep" 00:01:06  id:0x0x100000153 [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context93.preventuseridledisplaysleep" 00:01:06  id:0x0x500000156 [system: No Assertions]          

2015-10-15 06:58:31 -0700 Assertions          PID 159(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context93.preventuseridlesleep" 00:01:06  id:0x0x100000155 [system: No Assertions]          

Sleep/Wakes since boot at 2015-10-15 06:56:00 -0700 :0   Dark Wake Count in this sleep cycle:0

 

Time stamp                Domain              Message                                                                    Duration  Delay     

==========                ======              =======                                                                    ========  =====     

UUID: (null)

2015-10-15 07:01:29 -0700 Start               powerd process is started                                                            

2015-10-15 07:01:29 -0700                     Summary- [system: No Assertions] Using Batt(Charge: 68)                              

2015-10-15 07:01:30 -0700 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          

Sleep/Wakes since boot at 2015-10-15 07:01:29 -0700 :0   Dark Wake Count in this sleep cycle:0

 

Time stamp                Domain              Message                                                                    Duration  Delay     

==========                ======              =======                                                                    ========  =====     

UUID: (null)

2015-10-15 07:02:25 -0700 Start               powerd process is started                                                            

2015-10-15 07:02:25 -0700                     Summary- [system: No Assertions] Using Batt(Charge: 67)                              

2015-10-15 07:02:25 -0700 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context109.preventuseridledisplaysleep" 00:01:49  id:0x0x5000001da [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context109.preventuseridlesleep" 00:01:49  id:0x0x1000001d9 [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context110.preventuseridledisplaysleep" 00:01:49  id:0x0x5000001dc [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context110.preventuseridlesleep" 00:01:49  id:0x0x1000001db [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context111.preventuseridledisplaysleep" 00:01:49  id:0x0x5000001de [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context111.preventuseridlesleep" 00:01:49  id:0x0x1000001dd [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context112.preventuseridledisplaysleep" 00:01:49  id:0x0x5000001e0 [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context112.preventuseridlesleep" 00:01:49  id:0x0x1000001df [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context113.preventuseridledisplaysleep" 00:01:49  id:0x0x5000001e2 [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context113.preventuseridlesleep" 00:01:49  id:0x0x1000001e1 [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context114.preventuseridledisplaysleep" 00:01:49  id:0x0x5000001e4 [system: No Assertions]          

2015-10-15 07:04:25 -0700 Assertions          PID 192(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context114.preventuseridlesleep" 00:01:49  id:0x0x1000001e3 [system:

 

Time stamp                Domain              Message                                                                    Duration  Delay     

==========                ======              =======                                                                    ========  =====     

UUID: (null)

2015-10-15 07:04:38 -0700 Start               powerd process is started                                                            

2015-10-15 07:04:38 -0700                     Summary- [system: No Assertions] Using Batt(Charge: 66)                              

2015-10-15 07:04:38 -0700 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          

 

2015-10-15 07:36:35 -0700 :Showing all currently held IOKit power assertions

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   0

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     0

   NetworkClientActive            0

Kernel Assertions: 0x4=USB

   id=500  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.1d100000 owner=IOUSBHostDevice

   id=501  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14400000 owner=Touchscreen

   id=502  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14600000 owner=TOSHIBA Web Camera - HD

   id=503  level=255 0x4=USB mod=12/31/69, 4:00 PM description=com.apple.usb.externaldevice.14500000 owner=BCM20702A0

Idle sleep preventers: IODisplayWrangler

 

Upon wake the airport/ps2 occasionally somewhat crashes. There is intel smart connect, which i think works for powernap which I don't use.

there is also high power on usb charge in bios but trying both they don't have a lot of effect. There is a wifi switch too sometimes recovers crashed bt but if wifi crashes its usually also the ps2.

 

So I think perhaps usb related?

Lysander’s MacBook Pro.zip

CLOVER.zip

Link to comment
Share on other sites

I'm having a sleep problem resulting from adding PRT4 to my MacBookPro9,2 ports in AppleUSBXHCIPCI.kext.  Without that port, one of my USB ports on the left side of my laptop does not function but sleep works fine.  When I add that port, the USB port works fine but my laptop wakes from sleep instantly.  Any ideas?

 

P.S. - The "wake reason" is EH01 EH02 XHC, which are the names I gave to my USB controllers in my DSDT.  Nothing in Console gave me any clues. Lastly, if I remove all ports and port count from the plist, all USB ports work fine but sleep does not.

 

EDIT: After doing some more experimenting, it seems that sleep is broker whenever I try to disable port restrictions.  Therefore, sleep does not work with EH01, EH02 and XHC.  I had to rename them back to EHC1, EHC2 and XHC1.  That means I can't use an injector and have to modify the kext.  Still the problem with PRT4 remains.

Link to comment
Share on other sites

×
×
  • Create New...