Contribute
Register

[Guide] Lenovo ThinkPad T440

Status
Not open for further replies.
I’m good with latest guide T440s on top T440 works like charm, injected EDID for 1366x768 color as should be can share later. But anyway 1 issue USB ports I think not enough power. When I connect external HDD can’t mount or iPhone reconnects all time from right side port on left charges but when switching hotspot from iPhone, same situation on and of.
T440s is different, don't expect to have your laptop working with it.

If time allows, i will update and push the files on Github so you can have it fully working on macOS Mojave.
 
Very Soon, can't guarantee for tonight but tomorrow it should be up for T440 as well.

Just doing the final ACPI code optimizations.
Nice,
thx for your hard work.
 
Very Soon, can't guarantee for tonight but tomorrow it should be up for T440 as well.

Just doing the final ACPI code optimizations.
I bought lately a Dock for the t440.
As i remember, i have to discover all the new usb ports.
And What about the Audio ?
and the video outputs ?

thx
 
I bought lately a Dock for the t440.
As i remember, i have to discover all the new usb ports.
And What about the Audio ?
and the video outputs ?

thx
We will need to capture USB Ports, Detect other video outputs assignments, dump audio codec on linux (while dock is connected)
 
We will need to capture USB Ports, Detect other video outputs assignments, dump audio codec on linux (while dock is connected)

Okay thx.

with Usb ports i know how to do but how can a dump a audio codec an is it posssible to do with a live linux ?
 
Okay thx.

with Usb ports i know how to do but how can a dump a audio codec an is it posssible to do with a live linux ?
Yes, personally I just make a Live Ubuntu USB and run it, dump the codec, either email it to myself or copy to another media and reboot to macOS and start the Patching.
 
Yes, personally I just make a Live Ubuntu USB and run it, dump the codec, either email it to myself or copy to another media and reboot to macOS and start the Patching.
hi,

I tried to capture the USB ports but it don't show in IORegistryExplorer, I think it because I've already inject only the USB ports of my laptop, so it ignore the other ports on the dock, that mean I have do remove the patch ?
 
hi,

I tried to capture the USB ports but it don't show in IORegistryExplorer, I think it because I've already inject only the USB ports of my laptop, so it ignore the other ports on the dock, that mean I have do remove the patch ?
I thought you already knew that.

First use the kernel flag: uia_exlude to exclude ports that are available on the prebuilt SSDT-T440.aml.

Second, apply the USB port limit patch to increase the number of ports so you can capture all ports
Code:
<dict>
               <key>Comment</key>
               <string>change 15 port limit to 26 in XHCI kext (credit FredWst)</string>
               <key>MatchOS</key>
               <string>10.13.4,10.13.5</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g32UDw+DlwQ=</data>
               <key>Replace</key>
               <data>g32UGg+DlwQ=</data>
           </dict>
           <dict>
               <key>Comment</key>
               <string>disable port limit in XHCI kext (credit RehabMan, based prior PMHeart patch)</string>
               <key>MatchOS</key>
               <string>10.13.6</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g32IDw+DpwQAAA==</data>
               <key>Replace</key>
               <data>g32ID5CQkJCQkA==</data>
           </dict>
           <dict>
               <key>Comment</key>
               <string>disable port limit in XHCI kext (credit PMHeart)</string>
               <key>MatchOS</key>
               <string>10.14.x</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g/sPD4MDBQAA</data>
               <key>Replace</key>
               <data>g/sPkJCQkJCQ</data>
           </dict>

Use one of these Patches according to the High Sierra version you are running.

Reboot and start capturing USB ports.
 
I thought you already knew that.

First use the kernel flag: uia_exlude to exclude ports that are available on the prebuilt SSDT-T440.aml.

Second, apply the USB port limit patch to increase the number of ports so you can capture all ports
Code:
<dict>
               <key>Comment</key>
               <string>change 15 port limit to 26 in XHCI kext (credit FredWst)</string>
               <key>MatchOS</key>
               <string>10.13.4,10.13.5</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g32UDw+DlwQ=</data>
               <key>Replace</key>
               <data>g32UGg+DlwQ=</data>
           </dict>
           <dict>
               <key>Comment</key>
               <string>disable port limit in XHCI kext (credit RehabMan, based prior PMHeart patch)</string>
               <key>MatchOS</key>
               <string>10.13.6</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g32IDw+DpwQAAA==</data>
               <key>Replace</key>
               <data>g32ID5CQkJCQkA==</data>
           </dict>
           <dict>
               <key>Comment</key>
               <string>disable port limit in XHCI kext (credit PMHeart)</string>
               <key>MatchOS</key>
               <string>10.14.x</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g/sPD4MDBQAA</data>
               <key>Replace</key>
               <data>g/sPkJCQkJCQ</data>
           </dict>

Use one of these Patches according to the High Sierra version you are running.

Reboot and start capturing USB ports.


sry, I I thought it wold be same like first time, just plugging in and out.
I'll try it. thx

i made two dumps for the audio with the dock.
1. codec.txt is just on dock
2. codecplugedin.txt is on dock with headset pluged in dock jack.

sry i forgot to mention, I'm already on Mojave.
 

Attachments

  • codec_.txt
    3.1 KB · Views: 104
  • codec_plugedin.txt
    3.1 KB · Views: 99
I thought you already knew that.

First use the kernel flag: uia_exlude to exclude ports that are available on the prebuilt SSDT-T440.aml.

Second, apply the USB port limit patch to increase the number of ports so you can capture all ports
Code:
<dict>
               <key>Comment</key>
               <string>change 15 port limit to 26 in XHCI kext (credit FredWst)</string>
               <key>MatchOS</key>
               <string>10.13.4,10.13.5</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g32UDw+DlwQ=</data>
               <key>Replace</key>
               <data>g32UGg+DlwQ=</data>
           </dict>
           <dict>
               <key>Comment</key>
               <string>disable port limit in XHCI kext (credit RehabMan, based prior PMHeart patch)</string>
               <key>MatchOS</key>
               <string>10.13.6</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g32IDw+DpwQAAA==</data>
               <key>Replace</key>
               <data>g32ID5CQkJCQkA==</data>
           </dict>
           <dict>
               <key>Comment</key>
               <string>disable port limit in XHCI kext (credit PMHeart)</string>
               <key>MatchOS</key>
               <string>10.14.x</string>
               <key>Name</key>
               <string>com.apple.driver.usb.AppleUSBXHCI</string>
               <key>Find</key>
               <data>g/sPD4MDBQAA</data>
               <key>Replace</key>
               <data>g/sPkJCQkJCQ</data>
           </dict>

Use one of these Patches according to the High Sierra version you are running.

Reboot and start capturing USB ports.


So here for USB.
With dock inkl. the USB port of Laptop.
1x USB2 Stick
1x USB3 Stick

thx for your help
 

Attachments

  • Usmans MacBook Pro.ioreg
    4.6 MB · Views: 213
Status
Not open for further replies.
Back
Top