Jump to content

fluid | fixed

newnekton1

newnekton1

Member Since 27 Oct 2007
Offline Last Active Mar 27 2013 07:49 AM
-----

In Topic: Patched AppleUSBXHCI from OS 10.8.2

01 March 2013 - 08:43 AM

My apologies TimeWalker—slip of the keyboard.
As for the retarded comment—everybody is new at this game once. I won't bother you again.

View PostTimeWalker75a, on 01 March 2013 - 07:49 AM, said:

firstly im not textwalker
secondly the config was posted in post #41
thirdly every motherboard uses DSDT, that's a retarded thing to say that it doesn't. it's being taken from the bios, not sideloaded as with majority of mobos out there.

In Topic: Patched AppleUSBXHCI from OS 10.8.2

01 March 2013 - 07:46 AM

Thanks for the very clear explanation of how this works.  I now understand, but what if we have a motherboard that does not use a DSDT?  If there no possible workaround? Textwalker TimeWalker seems to suggest there is a workaround in the following (below) but I don't know what he did with kextpatcher in Clover—I have PMed him and hope he reads this board soon.
Snip from TimeWalker's post above.

After applying the diff as a KextPatcher entry for Clover, it has successfully cured the problem and USB devices plugged into USB 3.0 ports now properly get remounted after sleep!

View PostZenith432, on 28 February 2013 - 09:19 PM, said:

You can't solve this by patching AppleACPIPlatformExpert.  It needs to execute the sleep/wake methods in the DSDT.  That's how Apple's code is designed.  The bug is in the DSDT code, but other parts of what it's doing are necessary.  Windows and Linux have dedicated drivers for putting different chipsets to sleep and don't use DSDT code.  That's why those OSes don't experience this problem (and also why DSDT code is so neglected...)

In Topic: Patched AppleUSBXHCI from OS 10.8.2

28 February 2013 - 09:06 PM

So could we achieve the same using Clover's KextPatcher to edit AppleACPIPlatformExpert.kext if possible?

In Topic: Patched AppleUSBXHCI from OS 10.8.2

28 February 2013 - 10:16 AM

TimeWalker,
How did you make this patch using KextPatcher in Clover.
Could you paste the config.plist line here for me to try?
Thanks.

View PostTimeWalker75a, on 28 January 2013 - 04:38 PM, said:

Cool, thank you very much for this research!
The sleep patch at offset 10014 has cured the issue that has been plaguing my FL1009 controller on my Vostro 3450 laptop. Controller used to work absolutely fine, but refused to work after sleep. I use Jettison https://itunes.apple...son/id447430809 to unmount usb drives before sleep and remount afterwards. After applying the diff as a KextPatcher entry for Clover, it has successfully cured the problem and USB devices plugged into USB 3.0 ports now properly get remounted after sleep!

In Topic: Patched AppleUSBXHCI from OS 10.8.2

28 February 2013 - 09:22 AM

Hi Zenith 432,
First thanks for all your effort on this USb3 problem.
I have the same problem with the USB Drive showing that it is mounted under the High-Speed port when it is in fact the SuperSpeed port.  The command you suggested in post #8 gives Built-in as the Card Type property.
Here is the output:  

Last login: Thu Feb 28 17:54:15 on console
-bash-3.2$ ioreg -xrc AppleUSBXHCI
+-o AppleUSBXHCI  <class AppleUSBXHCI, id 0x100000201, registered, matched, act$
  | {
  |   "IOClass" = "AppleUSBXHCI"
  |   "CFBundleIdentifier" = "com.apple.driver.AppleUSBXHCI"
  |   "IOProviderClass" = "IOPCIDevice"
  |   "Card Type" = "Built-in"
  |   "IOPCIClassMatch" = "0x0c033000"
  |   "IOUserClientClass" = "IOUSBControllerUserClient"
  |   "IOPowerManagement" = {"ChildrenPowerState"=0x4,"DevicePowerState"=0x3,"C$
  |   "IOProbeScore" = 0x0
  |   "IOPCITunnelCompatible" = Yes
  |   "this" = 0xffffff80d6cd8000
  |   "IOMatchCategory" = "IODefaultMatchCategory"
  |   "ISTKeepAway" = 0x1
  | }
  |
  +-o XHCI Root Hub SS Simulation@0  <class IOUSBRootHubDevice, id 0x100000203,$
  | +-o AppleUSBHub  <class AppleUSBHub, id 0x100000239, registered, matched, a$
  | +-o IOUSBInterface@0  <class IOUSBInterface, id 0x10000023d, !registered, !$
  +-o XHCI Root Hub USB 2.0 Simulation@0  <class IOUSBRootHubDevice, id 0x10000$
  | +-o AppleUSBHub  <class AppleUSBHub, id 0x100000254, registered, matched, a$
  | +-o IOUSBInterface@0  <class IOUSBInterface, id 0x100000256, !registered, !$
  +-o My Passport 0740@3c100000  <class IOUSBDevice, id 0x1000005e2, registered$
    +-o IOUSBCompositeDriver  <class IOUSBCompositeDriver, id 0x1000005e5, !reg$
    +-o MSC Bulk-Only Transport@0  <class IOUSBInterface, id 0x1000005e6, regis$
      +-o IOUSBMassStorageClass  <class IOUSBMassStorageClass, id 0x1000005e8, $
        +-o IOSCSILogicalUnitNub@0  <class IOSCSILogicalUnitNub, id 0x1000005ea$
        | +-o IOSCSIPeripheralDeviceType00  <class IOSCSIPeripheralDeviceType00$
        |   +-o IOBlockStorageServices  <class IOBlockStorageServices, id 0x100$
        |     +-o IOBlockStorageDriver  <class IOBlockStorageDriver, id 0x10000$
        |       +-o WD My Passport 0740 Media  <class IOMedia, id 0x1000005f4, $
        |         +-o IOMediaBSDClient  <class IOMediaBSDClient, id 0x1000005f5$
        |         +-o IOGUIDPartitionScheme  <class IOGUIDPartitionScheme, id 0$
        |           +-o EFI System Partition@1  <class IOMedia, id 0x1000005fa,$
        |           | +-o IOMediaBSDClient  <class IOMediaBSDClient, id 0x10000$
        |           +-o TIMEMACHINE@2  <class IOMedia, id 0x1000005fb, register$
        |             +-o IOMediaBSDClient  <class IOMediaBSDClient, id 0x10000$
        +-o IOSCSILogicalUnitNub@1  <class IOSCSILogicalUnitNub, id 0x1000005f0$
          +-o SCSITaskUserClientIniter  <class SCSITaskUserClientIniter, id 0x1$

-bash-3.2$

Rather than use your patched kext, I used the kext edit function in Clover's config.plist as shown here:


<key>KernelAndKextPatches</key>
<dict>
<key>KextsToPatch</key>
<dict>
<key>0</key>
<dict>
<key>Find</key>
<data>
PQABDw==
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
PQAADw==
</data>
</dict>
<key>1</key>
<dict>
<key>Find</key>
<data>
dVtJiw==
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
61tJiw==
</data>
</dict>
<key>2</key>
<dict>
<key>Find</key>
<data>
PQABDw==
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
PQAADw==
</data>
</dict>
<key>3</key>
<dict>
<key>Find</key>
<data>
gUkIAABA
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
gUkIAAAA
</data>
</dict>
<key>4</key>
<dict>
<key>Find</key>
<data>
RCQIAABA
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
RCQIAAAA
</data>
</dict>
<key>5</key>
<dict>
<key>Find</key>
<data>
AEAAQYtG
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
AAAAQYtG
</data>
</dict>
<key>6</key>
<dict>
<key>Find</key>
<data>
AcaDfw==
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
AMaDfw==
</data>
</dict>
<key>7</key>
<dict>
<key>Find</key>
<data>
dSZIi7vo
</data>
<key>Name</key>
<string>AppleUSBXHCI</string>
<key>Replace</key>
<data>
6yZIi7vo
</data>
</dict>
</dict>
</dict>

Hope this helps you to figure out the problem.

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