Contribute
Register

Native Intel Panther Point USB 3.0 Patch for 4540S

Status
Not open for further replies.
Can you please export your IOREG and attach? I need a way to do detailed comparison. Thank you!
 
I found the original MacBookPro8,1 ioreg.
MacBook Pro8,1 "Core i5" 2.3 13" Early 2011 A1278 | MC700 2.3GHz/4GB/320GB/HD Graphics 3000/SD

This how EHC1 looks in the original ioreg (notice the device id: 1c26):
View attachment 49737

and EHC2 (notice the device id: 1c2d):

View attachment 49738

In Rehabman's patches I see different value for EHC2. His patches set 1c26 to both EHC1 and EHC2:

Code:
#    EHCI fix  inject  device 0x1C26 into EHC1 
into method label _DSM parent_adr 0x001D0000 remove_entry;
into device name_adr 0x001D0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package ()\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x26, 0x1c, 0x00, 0x00\n
            }, \n
            "built-in", \n
            Buffer (One)\n
            {\n
                0x00\n
            }, \n
            "AAPL,clock-id", \n
            Buffer (One)\n
            {\n
                0x01\n
            }, \n
            "device_type", \n
            Buffer (0x05)\n
            {\n
                "EHCI"\n
            }, \n
            "AAPL,current-available", \n
            0x0834, \n
            "AAPL,current-extra", \n
            0x0898, \n
            "AAPL,current-extra-in-sleep", \n
            0x0640, \n
            "AAPL,device-internal",\n
            0x02,\n
            "AAPL,max-port-current-in-sleep",\n
            0x0834,  \n
            Buffer (One)\n
            {\n
                0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;


#    EHCI fix inject  device 0x1C26 into EHC2
into method label _DSM parent_adr 0x001A0000 remove_entry;
into device name_adr 0x001A0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package ()\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x26, 0x1c, 0x00, 0x00\n
            }, \n
            "built-in", \n
            Buffer (One)\n
            {\n
                0x00\n
            }, \n
            "AAPL,clock-id", \n
            Buffer (One)\n
            {\n
                0x02\n
            }, \n
            "device_type", \n
            Buffer (0x05)\n
            {\n
                "EHCI"\n
            }, \n
            "AAPL,current-available", \n
            0x0834, \n
            "AAPL,current-extra", \n
            0x0898, \n
            "AAPL,current-extra-in-sleep", \n
            0x0640, \n
            "AAPL,device-internal",\n
            0x02,\n
            "AAPL,max-port-current-in-sleep",\n
            0x0834,  \n
            Buffer (One)\n
            {\n
                0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;

Isn't better to set EHC2 to 1c2d like the real MacBookPro8,1?

I think it probably is better (if it was 1c2d). Native IDs for EHC1/EHC2 are 0x1c26/0x1c2d, exactly matching MacBookPro8,2. The device-id injection might even be unecessary. Seems to work the same either way.

Of course, 4540s is completely different than 4530s (different chipset).
 
Thank you for your time!
I'm using MacBookPro8,1 and wondering why do you use 8.2? Did you upgrade to i7?

Screen Shot 2013-03-18 at 5.53.11 PM.png

Should I move to MacBookPro8.2, too? my CPU: i5-2450M
 
Thank you for your time!
I'm using MacBookPro8,1 and wondering why do you use 8.2? Did you upgrade to i7?

View attachment 49917

Should I move to MacBookPro8.2, too? my CPU: i5-2450M

I don't think it matters. Before ML I was using MacBookPro8,1. With MacBookPro8,2 I get 15" (instead of 13") displayed in About This Mac.
 
Thank you. USB2 and USB3 seems to be the last issue for me. I hope BigDonkey will provide me with ioreg to see what's happening on sandy bridge.
 
Can you please export your IOREG and attach? I need a way to do detailed comparison. Thank you!

For some reason the saved ioreg cannot be opened. It gives me an error message "document cannot be opened, it appears to be corrupted"
I prefer to sanitize it first from personal info, hardware serial numbers, MAC addresses etc. before posting in public.
I'm running older version of IORegistryExplorer because the latest one crashes on my laptop. I will check developer site if anything new is available.
 
For some reason the saved ioreg cannot be opened. It gives me an error message "document cannot be opened, it appears to be corrupted"
I prefer to sanitize it first from personal info, hardware serial numbers, MAC addresses etc. before posting in public.
I'm running older version of IORegistryExplorer because the latest one crashes on my laptop. I will check developer site if anything new is available.

Don't attempt IORegistryExplorer from developer.apple.com for ML. It is broken. I even tried it on a friend's new MacBookAir and it didn't work there either, so the issue is not hack related.

Use the last one that says it is for Lion... Shown in About IORegistryExplorer: Version 3.0 (3.0d1).
 
Don't attempt IORegistryExplorer from developer.apple.com for ML. It is broken. I even tried it on a friend's new MacBookAir and it didn't work there either, so the issue is not hack related.

Use the last one that says it is for Lion... Shown in About IORegistryExplorer: Version 3.0 (3.0d1).
Thanks, it works without crashes but will not open saved ioreg file.
 
I noticed interesting file on Mieze's upload site: DSDT-HP4540S-patched.aml.zip
Perhaps she's planning to buy Probook laptop? Our USB 3.0 script would benefit tremendously from her involvement.
 
Status
Not open for further replies.
Back
Top