Jump to content
iFabio

tips for Magic Mouse

Recommended Posts

hello I bought a Magic Mouse, and the problem 'that now when I walk away from the pc I find myself black screen and I can not access the desktop, I have to do a forced reboot.

Tips thanks


I hope I have posted in the appropriate section

I7 4770K - Z97-PRO Wifi (ac) - Intel HD4600

Link to comment
Share on other sites

You're right, but it was too late

Here's what I did

from Terminal : syslog |grep -i "Wake reason"

 

localhost kernel[0] : Wake reason: EHC2

localhost kernel[0] : Wake reason: EHC2

localhost kernel[0] : Wake reason: ? (Network)

localhost kernel[0] : Wake reason: ? (Network)

I opened and modified the dsdt part of the "EHC2" and compiled for not having errors

Done for "EHC1"

the modification:

Device (EHC1)
           {
               Name (_ADR, 0x001D0007)
               Name (_PRW, Package (0x02)
               {
                   0x0D, 
                   0x03
               })
               OperationRegion (USBR, PCI_Config, 0xC4, One)
               Field (USBR, AnyAcc, NoLock, Preserve)
               {
                   URES,   8
               }

               Method (_PSW, 1, NotSerialized)
               {
                   If (LEqual (Arg0, Zero))
                   {
                       Store (Zero, URES)
                   }

                   If (LEqual (Arg0, One))
                   {
                       Store (0x03, URES)
                   }
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0F)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x3a, 0x3A, 0x00, 0x00
                           }, 

                           "AAPL,clock-id", 
                           Buffer (One)
                           {
                               0x0A
                           }, 

                           "built-in", 
                           Buffer (One)
                           {
                               0x00
                           }, 

                           "device_type", 
                           Buffer (0x05)
                           {
                               "EHCI"
                           }, 

                           "AAPL,current-available", 
                           0x04B0, 
                           "AAPL,current-extra", 
                           0x02BC, 
                           "AAPL,current-in-sleep", 
                           0x03E8, 
                           Buffer (One)
                           {
                               0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

           Device (EHC2)
           {
               Name (_ADR, 0x001A0007)
               Name (_PRW, Package (0x02)
               {
                   0x0D, 
                   0x03
               })
               OperationRegion (USBR, PCI_Config, 0xC4, One)
               Field (USBR, AnyAcc, NoLock, Preserve)
               {
                   URES,   8
               }

               Method (_PSW, 1, NotSerialized)
               {
                   If (LEqual (Arg0, Zero))
                   {
                       Store (Zero, URES)
                   }

                   If (LEqual (Arg0, One))
                   {
                       Store (0x03, URES)
                   }
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0F)
                       {
                           "device-id", 
                           Buffer (0x04)
                           {
                               0x3c, 0x3A, 0x00, 0x00
                           }, 

                           "AAPL,clock-id", 
                           Buffer (One)
                           {
                               0x0A
                           }, 

                           "built-in", 
                           Buffer (One)
                           {
                               0x00
                           }, 

                           "device_type", 
                           Buffer (0x05)
                           {
                               "EHCI"
                           }, 

                           "AAPL,current-available", 
                           0x04B0, 
                           "AAPL,current-extra", 
                           0x02BC, 
                           "AAPL,current-in-sleep", 
                           0x03E8, 
                           Buffer (One)
                           {
                               0x00
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

I hope to give help to other users

I7 4770K - Z97-PRO Wifi (ac) - Intel HD4600

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...
The popup will be closed in 15 seconds...