Jump to content

Kind of DSDT fix for USB device dead after wake from sleep on 10.6.3


  • Please log in to reply
No replies to this topic

#1
Boombeng

Boombeng

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 598 posts
  • Gender:Male
  • Location:France
Edit : Well finaly it's not really a fix cause i have error on log with that and "device removal" after wake for ehci device
Sorry to post too fast a fix that is not really a fix

See here for a real fix
----------------------------------------------------------------------
Since 10.6.3 update I had to unplug and replug the device that waked the system in order to make it usable after wake, so I checked a dsdt from another MSI board that was not experiencing this issue (P55 CD53) and found that pieces of codes were missing in my P45T C51's DSDT... I just added and it worked :P

In both EUSB and USBE I had only that :

Device (EUSB)
			{
				Name (_ADR, 0x001D0007)
				Method (_PRW, 0, NotSerialized)
				{
					Return (GPRW (0x0D, 0x04))
				}
			}

And It needs to be like that :

Device (EUSB)
			{
				Name (_ADR, 0x001D0000)
				Device (RHUB)
				{
					Name (_ADR, Zero)
					Device (PRT1)
					{
						Name (_ADR, One)
						Name (_UPC, Package (0x04)
						{
							0xFF, 
							Zero, 
							Zero, 
							Zero
						})
						Name (_PLD, Buffer (0x10)
						{
							/* 0000 */	0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
							/* 0008 */	0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
						})
						Device (PRT1)
						{
							Name (_ADR, One)
							Name (_UPC, Package (0x04)
							{
								0xFF, 
								Zero, 
								Zero, 
								Zero
							})
						}

						Device (PRT2)
						{
							Name (_ADR, 0x02)
							Name (_UPC, Package (0x04)
							{
								0xFF, 
								Zero, 
								Zero, 
								Zero
							})
							Name (_PLD, Buffer (0x10)
							{
								/* 0000 */	0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
								/* 0008 */	0xA0, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
							})
						}

						Device (PRT3)
						{
							Name (_ADR, 0x03)
							Name (_UPC, Package (0x04)
							{
								0xFF, 
								Zero, 
								Zero, 
								Zero
							})
						}

						Device (PRT4)
						{
							Name (_ADR, 0x04)
							Name (_UPC, Package (0x04)
							{
								0xFF, 
								Zero, 
								Zero, 
								Zero
							})
						}

						Device (PRT5)
						{
							Name (_ADR, 0x05)
							Name (_UPC, Package (0x04)
							{
								0xFF, 
								Zero, 
								Zero, 
								Zero
							})
						}

						Device (PRT6)
						{
							Name (_ADR, 0x06)
							Name (_UPC, Package (0x04)
							{
								0xFF, 
								Zero, 
								Zero, 
								Zero
							})
						}

						Device (PRT7)
						{
							Name (_ADR, 0x07)
							Name (_UPC, Package (0x04)
							{
								0xFF, 
								Zero, 
								Zero, 
								Zero
							})
						}

						Device (PRT8)
						{
							Name (_ADR, 0x08)
							Name (_UPC, Package (0x04)
							{
								0xFF, 
								Zero, 
								Zero, 
								Zero
							})
						}
					}

					Device (PRT2)
					{
						Name (_ADR, 0x02)
						Name (_UPC, Package (0x04)
						{
							Zero, 
							0xFF, 
							Zero, 
							Zero
						})
					}
				}

				Method (_PRW, 0, NotSerialized)
				{
					Return (GPRW (0x0D, 0x04))
				}
			}

I hope it can help others experiencing that usb issue that the only trick for the moment was to use Power Bouton to wake
cheers





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy