Jump to content

Lenovo ThinkPad T420 with UEFI Only

* * * * * 10 votes UEFI ThinkPad T420 Lenovo Clover

  • Please log in to reply
1191 replies to this topic

#21
distortionmusic

distortionmusic

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Netherlands

I think there is my experimental DSDT.aml in the patched folder, try replacing it with the one I'm using right now.


Working now without KP, only sound is gone. What did you modify on it? Rest works great without KP's now!

#22
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male
Yes sorry... forgot about the sound is using codec ID 12 now, cause I'm testing other AppleHDA driver found in this post.
HPET is fixed by adding IRQ's 0,8,11 and 15

#23
distortionmusic

distortionmusic

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Netherlands
Here's a screenshot uploaded from my T420.
Used your latest dsdt from post #21 (for anyone having same issues ;) ) working great now!

@Kogen Mantis, you're doing a great job here, thanks very much for the work you have done and what you're doing! Even sleep is working etc etc!

Posted Image

#24
distortionmusic

distortionmusic

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Netherlands
After a day i use I notice that sometimes when I close the lid, it doesn't go to sleep but freezes with a black screen and a flashing sleep indicator. Do you have that as well or would that be specific to my model Thinkpad and it's DSDT now?

#25
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

After a day i use I notice that sometimes when I close the lid, it doesn't go to sleep but freezes with a black screen and a flashing sleep indicator. Do you have that as well or would that be specific to my model Thinkpad and it's DSDT now?

I'm doing so many test with different types of setup and configurations that I've didn't noticed that... I mean sleep doesn't work as expected sometimes but I was always blaming something else than the DSDT. I guess I should look closer into it.
What UEFI Bios version you are at now? And can you write down the steps to reproduce the sleep problem.
Also I have hibernatemode disabled:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage


#26
distortionmusic

distortionmusic

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Netherlands

I'm doing so many test with different types of setup and configurations that I've didn't noticed that... I mean sleep doesn't work as expected sometimes but I was always blaming something else than the DSDT. I guess I should look closer into it.
What UEFI Bios version you are at now? And can you write down the steps to reproduce the sleep problem.
Also I have hibernatemode disabled:

sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage


I use the original 1.43 bios now.

How does your system run now then? I am running OSX only now, and I use it for school every day (Yeah it's a bit tricky but it does work much better then Windows).


EDIT: disable hibernate works really well, it goes to sleep faster (immediately) and it wakes up with the same speed as well!

Can you tell me how your testing with the other sound kext is going? I can't get it to work yet, I've read trough the tread but I'm not much wiser yet haha.

I can confirm that everything that worked before update keeps working after update to 10.8.2 btw. It runs really stable and fast, much better then with chameleon and non-efi use.

Joke is, that with the use of EFI, you really get all the "toys" you have with a real mac. Like you mentioned in your first post. Even Bootcamp seems to be working.

#27
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

I use the original 1.43 bios now.

How does your system run now then? I am running OSX only now, and I use it for school every day (Yeah it's a bit tricky but it does work much better then Windows).


EDIT: disable hibernate works really well, it goes to sleep faster (immediately) and it wakes up with the same speed as well!

In general I'm very happy about the result, but there are few little things that are still bugging me.
- brightness is lower than default (i use bottom-right corner to put display to sleep and wake it up for better brightness)
- SD card reader not working (though I use the pci-express to SD-card adapter)
- it would be nice to have a better mouse driver

#28
distortionmusic

distortionmusic

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Netherlands

In general I'm very happy about the result, but there are few little things that are still bugging me.
- brightness is lower than default (i use bottom-right corner to put display to sleep and wake it up for better brightness)
- SD card reader not working (though I use the pci-express to SD-card adapter)
- it would be nice to have a better mouse driver


Yeah indeed. Brightness is not really an issue in my case, because I use mine for school. Which means, I use lower brightness anyway for longer battery life, but I put it to sleep every now and then as well.
I was searching the net for a possibility to use multitouch like the newer MacBooks have (three finger window switching etc), would be great it there just was sectretly hidden button to turn multitouch options in prefpane for touchpad...

can you tell what you have done to make sound kexts from the project you mentioned? I didn't get the way he got it to work.

#29
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Yeah indeed. Brightness is not really an issue in my case, because I use mine for school. Which means, I use lower brightness anyway for longer battery life, but I put it to sleep every now and then as well.
I was searching the net for a possibility to use multitouch like the newer MacBooks have (three finger window switching etc), would be great it there just was sectretly hidden button to turn multitouch options in prefpane for touchpad...

can you tell what you have done to make sound kexts from the project you mentioned? I didn't get the way he got it to work.

I always install new kexts by /Extra/Extensions/ using myHack | myFix so just put the patched AppleHDA.kext in there and move the original one from /L/S/E
sudo mv /System/Library/Extensions/AppleHDA.kext /System/
and run myFix (Quick mode)

#30
Anthony C

Anthony C

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
So I got ML installed and ran the myHack however I have no sound or network. I'm trying to learn how to generate a DSDT but haven't been successful yet. Do I need to reinstall?


machine type: 4179w1f



Thanks....

#31
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

So I got ML installed and ran the myHack however I have no sound or network. I'm trying to learn how to generate a DSDT but haven't been successful yet. Do I need to reinstall?

machine type: 4179w1f
...

No there's no point for reinstalling. Beside the HD (Low resolution) screen you have basically thesame hardware specs like I do. So again... rename the 4180A32 folder inside EFI/OEM/ to 4179W1F and use this dsdt: Attached File  dsdt-143001.zip   25.91KB   242 downloads but change the DualLink to 0:
"AAPL00,DualLink",
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
place the edited dsdt file in
EFI/OEM/4179W1F/ACPI/patched/
As for sound driver read post #30

#32
seraph1024

seraph1024

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
I am doing this on my Lenovo T420 (Type 4178-6WU) with SN R8-Y2BLZ. I have tried different DSDT files as well. I keep getting hung on ACPI_SMC_PlatformPlugin::InitFanThrottleControl - Waiting for AppleSMC
What else am i missing. I am using a FAT32 USB with CLOVER2 and your EFI update from the first post.

#33
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

I am doing this on my Lenovo T420 (Type 4178-6WU) with SN R8-Y2BLZ. I have tried different DSDT files as well. I keep getting hung on ACPI_SMC_PlatformPlugin::InitFanThrottleControl - Waiting for AppleSMC
What else am i missing. I am using a FAT32 USB with CLOVER2 and your EFI update from the first post.

Looks like FakeSMC.kext is not loading ... make sure you have it in:
EFI/kexts/10.8/ or in case you renamed my folder to your model name in OEM/41786WU/kexts/10.8/

#34
seraph1024

seraph1024

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

Looks like FakeSMC.kext is not loading ... make sure you have it in:
EFI/kexts/10.8/ or in case you renamed my folder to your model name in OEM/41786WU/kexts/10.8/


Thanks for the quick reply. Same issue even with FakeSMC in both folders. I do have dual video cards on this verison. Could that be the issue?

#35
seraph1024

seraph1024

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Well, after moving things around, it is now going in a loop.

#36
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Thanks for the quick reply. Same issue even with FakeSMC in both folders. I do have dual video cards on this verison. Could that be the issue?

The more information you give the better chance to resolve your issue.
- what OSX version you are trying to boot?

Update: Try disabling OEM table DMAR in Clover option during boot and report back

Edited by Kogen Mantis, 10 February 2013 - 04:40 PM.


#37
Tetonne

Tetonne

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts
Device Properties injected :
in terminal

ioreg -lw0 -p IODeviceTree -n efi -r -x | grep device-properties | sed 's/.*<//;s/>.*//;'


save the digit in text.app


for example :

450000000100000001000000390000000100000002010c00d041030a000000000101060000197fff0400160000006200750069006c0074002d0069006e0000000500000001...


in config.plist add (/EFI/OEM/folder name with Type of T420 : look a sticker bak to your computer)

example : type 4236-Y33xxxxxxx give you 4235Y33 )

<key>DeviceProperties</key>
<string>450000000100000001000000390000000100000002010c00d041030a000000000101060000197fff0400160000006200750069006c0074002d0069006e0000000500000001...</string>

in <key>SystemParameters</key>
use Property List Editor to edit the file

#38
Tetonne

Tetonne

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts

Today I've made a display override for my HD+ Panel (1600x900) based on MacbookPro9,1(DisplayVendorID-610/DisplayProductID-9cc7) and named it Lenovo LCD.

The display profile default is warmer using this file and I have added some extra resolution choices in scaled mode.


Just unzip it and copy entire DisplayVendorID-30e4 folder to:

/System/Library/Displays/Overrides/

spdisplays_display Fixer.app.dmg to create yours

#39
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Device Properties injected :
in terminal

ioreg -lw0 -p IODeviceTree -n efi -r -x | grep device-properties | sed 's/.*<//;s/>.*//;'

save the digit in text.app

for example :

450000000100000001000000390000000100000002010c00d041030a000000000101060000197fff0400160000006200750069006c0074002d0069006e0000000500000001

in

config.plist add


<key>StringInjector</key>
<
string>Yes</string>
<
key>DeviceProperties</key>
<
string>450000000100000001000000390000000100000002010c00d041030a000000000101060000197fff0400160000006200750069006c0074002d0069006e0000000500000001</string>



back to clover 1050 cos with 1090 i got that :

Yes I'm using Clover r1062 cause latest builds broke cpu detection (thus I get fuzzy sound) and graphics are messed up.
BTW1: what is the DeviceProperities string injection good for?
BTW2: whats your full serial number and hows is your CPU detected in 1050? (Is it 2.6GHz or 2.59GHz)

spdisplays_display Fixer.app.dmg to create yours

Nice little app for beginners that just want to add the "Display LCD" for the unknown panel. Thanks for bringing this up.

#40
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male
As pointed out in private message from Tetonne I have notice that iMessage is not working for our HacBooks and I think the key to resolve that issue is:
1. Ethernet binding to en0 (first network device)
2. Proper MLB serial number (17 digits)

I have enabled and disabled my iMessage account few times to check if its working permanently... and all just works :)





Also tagged with one or more of these keywords: UEFI, ThinkPad, T420, Lenovo, Clover


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