Jump to content

piczu

piczu

Member Since 15 Sep 2009
Offline Last Active Oct 23 2012 07:45 AM
-----

Topics I've Started

DSDT fix for USB2

28 March 2011 - 08:25 PM

Hi,




I have serious problems with my USB ports. When I plug-in any device to USB port I always get Kernel Panic. I can't work on OSX by this.

My USB in lspci:




[codebox]00:1a.0 USB Controller: Intel Corporation Ibex Peak USB2 Enhanced Host Controller (rev 05)

00:1d.0 USB Controller: Intel Corporation Ibex Peak USB2 Enhanced Host Controller (rev 05)[/codebox]




I use IOUSBFaminy and IOUSBMassStorage kexts in Extra folder and I think it is their fault.

I think patching my DSDT may help me. But here's my 2nd problem. I studied many threads about fixing USB ports and this is what I've done:




[codebox] Device (EHC0)

{

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

})

}

}



Method (_DSM, 4, NotSerialized)

{

Store (Package (0x0E)

{

"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",

0x05DC,

"AAPL,current-extra",

0x03E8,

"AAPL,current-in-sleep",

0x0BB8

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}



Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x0D, 0x04))

}

}



Device (UHC0)

{

Name (_ADR, 0x001D0001)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x33, 0x3A, 0x00, 0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x03, 0x04))

}

}



Device (UHC1)

{

Name (_ADR, 0x001D0002)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x34, 0x3A, 0x00, 0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x04, 0x04))

}

}



Device (UHC2)

{

Name (_ADR, 0x001D0003)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x35, 0x3A, 0x00, 0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x0C, 0x04))

}

}



Device (UHC3)

{

Name (_ADR, 0x001D0004)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x36, 0x3A, 0x00, 0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x0E, 0x04))

}

}



Device (EHC1)

{

Name (_ADR, 0x001A0000)

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

})

}

}



Method (_DSM, 4, NotSerialized)

{

Store (Package (0x0E)

{

"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",

0x05DC,

"AAPL,current-extra",

0x03E8,

"AAPL,current-in-sleep",

0x0BB8

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}



Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x0D, 0x04))

}

}



Device (UHC4)

{

Name (_ADR, 0x001A0001)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x37, 0x3A, 0x00, 0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x05, 0x04))

}

}



Device (UHC5)

{

Name (_ADR, 0x001A0002)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x38, 0x3A, 0x00, 0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x20, 0x04))

}

}



Device (UHC6)

{

Name (_ADR, 0x001A0003)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x39, 0x3A, 0x00, 0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

Method (_PRW, 0, NotSerialized)

{

Return (GPRW (0x25, 0x04))

}

}[/codebox]




Unfortunately that doesnt work. USB dont work with this. I have P7P55-M motherboard. NE1 help me?
© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy