GA-Z87M-D3H USB keyboard/mouse wake problem

I have helped someone I know setting up a GA-Z87M-D3H (F11 BIOS) as hack and noticed a couple of oddities. First we had to solve the USB stutter and random hangs but USB keyboard/mouse wake events only worked after a restart. A warm boot. We now also solved this problem, and we did that by altering this UEFI BIOS setting

BIOS Erp Setting

Without Erp enabled in the BIOS it simply didn’t work. And for your info. USB 3.0 on this motherboard works without any kind of DSDT edits. We only added a _DSM method for additional power.

            Device (XHC1)
            {
                Name (_ADR, 0x00140000)  // _ADR: Address
                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                   0x0D, 
                   0x04
                })

                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Return (Buffer (One)
                        {
                            0x03
                        })
                    }

                    Return (Package (0x09)
                    {
                        "AAPL,current-available", 
                        0x0834, 
                        "AAPL,current-extra", 
                        0x0A8C, 
                        "AAPL,current-extra-in-sleep", 
                        0x0A8C, 
                        "AAPL,max-port-current-in-sleep", 
                        0x0834, 
                        Buffer (One)
                        {
                             0x00
                        }
                    })
                }

                Device (RHUB)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                }

                Method (MBSD, 0, NotSerialized)
                {
                    Return (0x01)
                }
            }

That’s it.

The stripped DSDT for the Gigabyte Z87M-D3H blog post also includes a link to my Github repository where you can download this DSDT.

Have fun!

Advertisements

2 thoughts on “GA-Z87M-D3H USB keyboard/mouse wake problem

  1. Hi Pike. Very interesting. Was wondering if that dsdt edit will fix a verbose boot message that the usb ports are under powered? I have a bran new Z87X-UD5H F9 Ozmosis 1479 bios I’m trying to work out the kinks. Thanks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s