Jump to content

DSDT fix for USB2


  • Please log in to reply
10 replies to this topic

#1
piczu

piczu

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
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?

#2
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro
USB does not appear as integrated?
Attached File  Captura_de_tela_2011_03_28_a__s_17.29.46.png   90.45KB   98 downloads

send me DSDT

use original kext

#3
piczu

piczu

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Yes, it appears as internal when I use kexts in /Extra

Posted Image

My DSDT: http://rapidshare.co...ixedE-nohda.dsl

#4
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

Yes, it appears as internal when I use kexts in /Extra


Use original kext

use Auto-Patcher
http://www.insanelym...howtopic=235523

IOUSBFaminy and IOUSBMassStorage

you are sure you need this kext?

#5
piczu

piczu

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

you are sure you need this kext?





My USB didnt work after 10.6.4 update. I tried Auto-Patcher with selecting "P7P55 M" and USB still didnt work without extra kexts.

#6
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

My USB didnt work after 10.6.4 update. I tried Auto-Patcher with selecting "P7P55 M" and USB still didnt work without extra kexts.

try it
Attached File  dsdt.piczu.zip   13.36KB   9 downloads
without kext in Extra

#7
piczu

piczu

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Nope :)

Maybe something wrong with vanilla kexts?

PS. I use ##### CD to run OSX but dont think it change sth.

#8
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

Maybe something wrong with vanilla kexts?


Yep
very strange

you can try Chameleon rc5
add in boot.plist
USBBusFix=Yes


#9
piczu

piczu

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Dont work too. But when i copied custom kexts from /E/E to /S/L/E USB worked without KP when plgging-in devs.

#10
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

Dont work too. But when i copied custom kexts from /E/E to /S/L/E USB worked without KP when plgging-in devs.

Attached File  01a.png   879bytes   8 downloads

#11
shiecldk

shiecldk

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
  • Gender:Male
  • Location:Taiwan

Attached File  01a.png   879bytes   8 downloads

Hi,
Sorry for bothering you.

Do you know how to fix this error after wake up from sleep with DSDT?
Posted Image

I found out that many Gigabyte 6 series MB users had the same problem like mine.





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