Jump to content

[GUIDE] Lenovo ThinkPad T510/510i (plus T410 and W510) 10.6-10.7-10.8-10.9 all working OK! 2013.11.12 Update

lenovo lion t510 osx mountain lion

  • Please log in to reply
465 replies to this topic

#81
BuckSS

BuckSS

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Moscow, Russia

Sound assertion in AppleHDAWidget at line 2175 (and 3095) is not fixable for now, I'll try some

possibilities but not sure this help

Use new FakeSMC and its modules, IntelCPUMonitor is from old ones

ACPISensors.kext
CPUSensors.kext
FakeSMC.kext
NouveauSensors.kext

remove old ones, marked blue, and after that cache should be recreated well


Yes, I replaced kexts, and that's why i wrote it =)
Errors started after i did it =)

#82
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
My post today is not so software specific but it's fine

If your T510 is a switchable graphics version with Intel HD, then suggest disable the NVS3100M and run it with an NVidia Fermi or Keplar card for maximum performance.

Lenovo T510 can run a [port3+port4] x2 link

If you have only the NVS3100M version then to get decent smoothness would require running a x2 link. The schematic shows it has port1=wifi/mPCIe, port3=UWB/mPCIe, port4=expresscard. So you could run a [port3+4] x2 link.



Wrong wrong wrong

Let's show you my T510 PCIe config

Posted Image

Port #1 is empty, but this is not WWAN miniPCIe slot, WWAN slot is only USB+mSATA capable, so no x2 link with this!

So where is x1 port?

Right down tour touchpad, see picture

Slot #1 is unsoldered, so to get it working you should solder it and use after

Posted Image

There are few ore questions about this motherboard - what is unsoldered slot pins right from PCH - there are about 50 pins on each side ~100 both. Maybe this is also PCIe lanes from chipset? QM57 has 8 x1 lanes - 4 (#1, #2, #4, #5) of them is cards and devices, #3 is possible sound controller, #6 is possible LAN(not sure about lan cause its
use chipset PHY port so 8 PCIe lanes may be untouched ) Maybe its 7th-8th lanes of PCH? If so is there some way to use it or simply test what kind of signal on it?


Posted Image

UPDATE: Based on info from block diagram

Physically:
#1 WLAN > AIDA #2
#2 Our unsoldered slot > AIDA #1
#3 WWAN > AIDAs missing #3
#4 ExpressCard > AIDA #4
#5 Ricoh CardReader+FW > AIDA #5
#8 GLAN

So even with this info we got ports 6-7 unused there

Hope I'll have much time to finish this job tis month, solder this bracket and try to run my GeForce GTX 280 as eGPU with my CPU modded T510 and OSX

#83
Fouer

Fouer

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Russia
Hey joshhh and all of you guys. I have a couple of noobish questions, I hope I wont annoy you, but if I will sorry about that.
So the questions are:
1. I have a T510i laptop with integrated graphics only (on a i5 430m CPU), will I be able to run Mac OS in that case?
2. Does the latest "Short installation guide for OSX 10.8 Mountain Lion" can be used for the 1-st time Mac OS install on my t510i or is it only an update manual and I have to have an already working machine with previous Mac OS version?

Thank you for your answers.

#84
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Received old Intel iMac 17" IR-Receiver yesterday. Solder it today to USB connector and it just works!

Controlling iTunes and VLC well with my exMacBook Pro unibody 2008 white IR controller

Posted Image

Posted Image

Next step is to place it inside laptop

#85
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Hi folks! I think I've found a way to control brightness on boot(for now just set predefined level, not 100% on each boot) of laptop lcd in ML. It's DSDT dependent and I upload it tomorrow when test it a bit harder

#86
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
OK about brightness:

I can set screen brightness on boot if I add method to LCD0 device


Method (_BQC, 0, NotSerialized)
{
Return (0x1E)
}

0x1E is sample hex value of 30%, max value is 0x64=100%

next, I should remove pwm-info value from gfx DSM method so osx can control and set brightness on boot

Downside of this - we can't control brightness no more with hotkeys

Continue digging with this issue

Bonus: dsdt with some optimizations

Attached File  DSDT.aml.zip   14.56KB   26 downloads

#87
Erdbeeere

Erdbeeere

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts
If you need my EDID from my internal T510 Display with 1600x900px, here you find it.

If anyone remember, i wanted to use only the external display. I found a solution: ScreenResX

With this tool i was able to disable the internal display.

Attached File  1600x900 T510 LED.zip   1.74KB   19 downloads

#88
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Wow! That's interesting! Can you post screenshot with LCD disabled?

Only way I figured out how to use only external displays on T510 is to mod NVCAP in dsdt, but its not fully tested

If you need my EDID from my internal T510 Display with 1600x900px, here you find it.

If anyone remember, i wanted to use only the external display. I found a solution: ScreenResX

With this tool i was able to disable the internal display.

Attached File  1600x900 T510 LED.zip   1.74KB   19 downloads



#89
themusicalduck

themusicalduck

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
EDIT with sort of fix:

Apparently Apple only supports DVI output on a PCI card. I unplugged my VGA monitor (with adapter) and now the card works.

So I plugged the VGA monitor into my laptop VGA output and it works with all 3 screens. Although it's a little inconvenient to switch cables around for booting another OS, this is pretty cool.

What I don't understand, is that VGA worked fine when I was on Leopard. Did they actually decide to remove functionality in later versions?

I'm going to keep working a bit on it and see if I can drive both monitors with the eGPU.





Hi joshhh, following on the conversation about using an eGPU - I've managed to get hold of a PE4H and done some testing with a GTX260. While it works well in Windows and Linux, Mountain Lion does not want to play nice with it. I'm not entirely sure if it is possible at this moment, although I am making threads in other places asking for advice.

The funny (and frustrating) thing is, the GTX260 is detected and listed in System Information along with the NVS, but none of the displays are detected and the vram is listed as being 1MB only (which may not make a difference, but it is a bit strange).

Here though - http://www.tonymacx8...html#post409185 it suggests that someone has got it all working with a very similar setup, the difference being that the internal graphics card is Intel and ours is Nvidia.

Of course, booting up with the Intel card enabled instead in BIOS does not work at all for me.

This thread - http://forum.noteboo...xperiences.html suggests that the device ID must be added to NVDAGF100Hal.kext, but that hasn't helped for me (besides, the card is already detected, just not working).

I've had this GTX card working in Leopard before (after installing Nvidia drivers which should all be included in ML now) so I can't see any reason for it not to work, but it'd be good to do some more testing and see if it is actually possible, especially before people go out and spend money on their own eGPU setups.

I'm wondering if something needs to be added to the dsdt file, but that is beyond me.

#90
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Hm...

About 3 displays

Both 3 displays works in osx? I'm right? LCD + VGA + DP outs?

The eGPU problem I think is chameleon. Don't know what revision of chameleon support dual and triple nvidia cards. Need to test it. 1Mb ram of card tells that card is not loaded by drivers at all.

So to solutions for eGPU - check chameleon with dual nvidia or add another nvidia section to dsdt.

EDIT with sort of fix:

Apparently Apple only supports DVI output on a PCI card. I unplugged my VGA monitor (with adapter) and now the card works.

So I plugged the VGA monitor into my laptop VGA output and it works with all 3 screens. Although it's a little inconvenient to switch cables around for booting another OS, this is pretty cool.

What I don't understand, is that VGA worked fine when I was on Leopard. Did they actually decide to remove functionality in later versions?

I'm going to keep working a bit on it and see if I can drive both monitors with the eGPU.





Hi joshhh, following on the conversation about using an eGPU - I've managed to get hold of a PE4H and done some testing with a GTX260. While it works well in Windows and Linux, Mountain Lion does not want to play nice with it. I'm not entirely sure if it is possible at this moment, although I am making threads in other places asking for advice.

The funny (and frustrating) thing is, the GTX260 is detected and listed in System Information along with the NVS, but none of the displays are detected and the vram is listed as being 1MB only (which may not make a difference, but it is a bit strange).

Here though - http://www.tonymacx8...html#post409185 it suggests that someone has got it all working with a very similar setup, the difference being that the internal graphics card is Intel and ours is Nvidia.

Of course, booting up with the Intel card enabled instead in BIOS does not work at all for me.

This thread - http://forum.noteboo...xperiences.html suggests that the device ID must be added to NVDAGF100Hal.kext, but that hasn't helped for me (besides, the card is already detected, just not working).

I've had this GTX card working in Leopard before (after installing Nvidia drivers which should all be included in ML now) so I can't see any reason for it not to work, but it'd be good to do some more testing and see if it is actually possible, especially before people go out and spend money on their own eGPU setups.

I'm wondering if something needs to be added to the dsdt file, but that is beyond me.



#91
themusicalduck

themusicalduck

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
Well, I have no idea why this has worked. I swapped the DVI and the VGA/Adapter around on the eGPU and now it all works perfectly.

I guess the DVI has to be in the first slot and VGA in second.

Thanks goodness it was all an easy fix in the end.

#92
zhangqq

zhangqq

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Hi,

Could you patched the 10.8 HDA kext for W520 again?
I tried many times to port 10.7.4 to 10.8 but all failed.

THX!!

#93
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Could you make some screenshots and photos with it?


Well, I have no idea why this has worked. I swapped the DVI and the VGA/Adapter around on the eGPU and now it all works perfectly.

I guess the DVI has to be in the first slot and VGA in second.

Thanks goodness it was all an easy fix in the end.


Ok I'll add it to my reminder. Make it tonight


Hi,

Could you patched the 10.8 HDA kext for W520 again?
I tried many times to port 10.7.4 to 10.8 but all failed.

THX!!



#94
XmodD

XmodD

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
  • Gender:Male
  • Location:Germany Cologe
Hi there,

i got an ThinkPad x121e. ML is working fine, but I got some truble with sleep. I am using a DSDT I once patched. I also patched sleep but it is not working without SleepEnabler. But SE unloads my ThinkPad Ultra Nav kext every time. Can someone maybe tell me how u got sleep on T510 gona work? Maybe u can give me your working DSDT mod.

Thx

XmodD

#95
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Proper combination for sleep is:

1) patched HPET, TIMR, RTC, PIC sections
2) patched EHCI/UHCI sections
3) patched AppleLPC kext to match chipset id
4) removed NullCPUPowerManagement, SleepEnabler
5) patched AppleRTC kext to solve CMOS reset after sleep

After that sleep should work

my latest DSDT is few posts above

Hi there,

i got an ThinkPad x121e. ML is working fine, but I got some truble with sleep. I am using a DSDT I once patched. I also patched sleep but it is not working without SleepEnabler. But SE unloads my ThinkPad Ultra Nav kext every time. Can someone maybe tell me how u got sleep on T510 gona work? Maybe u can give me your working DSDT mod.

Thx

XmodD



#96
wyxz2008

wyxz2008

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

OK about brightness:

I can set screen brightness on boot if I add method to LCD0 device


Method (_BQC, 0, NotSerialized)
{
Return (0x1E)
}

0x1E is sample hex value of 30%, max value is 0x64=100%

next, I should remove pwm-info value from gfx DSM method so osx can control and set brightness on boot

Downside of this - we can't control brightness no more with hotkeys

Continue digging with this issue

Bonus: dsdt with some optimizations

Attached File  DSDT.aml.zip   14.56KB   26 downloads


This new dsdt.aml doesn't work on my T510. I still have 100% brightness on boot, and the shortcuts to adjust brightness are still there.

#97
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
I can upload this dsdt with brightness setup but you'll lose ability to control it

This new dsdt.aml doesn't work on my T510. I still have 100% brightness on boot, and the shortcuts to adjust brightness are still there.



#98
themusicalduck

themusicalduck

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
Seems like I've generated a new (although minor) problem in ML and I'm not sure how.

If I boot with UseKernelCache enabled, I'll get a kernel panic related to kernel_task (or the text will just freeze after a few seconds).

This only happens if I'm using the dsdt.aml provided here http://www.insanelym...dpost&p=1833466

if the dsdt file isn't there then it boots fine, but of course I lose sound and battery monitoring.

Funnily enough it was working before, until I removed it to test something else, and then put it back later on.

It's only a minor problem. I can live with a few extra seconds of boot time, but it's worth mentioning anyway.

#99
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
I have no KP at all, but have dead freeze on resume from sleep

I think it's related to version of bios and version of dsdt. Since I suffer from random freeze after sleep I'll tray to check older dsdt from 10.7 system(need to mod some devices to ensure compatibility with latest kexts)

You can try to test dsdt from this post http://www.insanelym...dpost&p=1845663

Seems like I've generated a new (although minor) problem in ML and I'm not sure how.

If I boot with UseKernelCache enabled, I'll get a kernel panic related to kernel_task (or the text will just freeze after a few seconds).

This only happens if I'm using the dsdt.aml provided here http://www.insanelym...dpost&p=1833466

if the dsdt file isn't there then it boots fine, but of course I lose sound and battery monitoring.

Funnily enough it was working before, until I removed it to test something else, and then put it back later on.

It's only a minor problem. I can live with a few extra seconds of boot time, but it's worth mentioning anyway.



#100
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Just repatched latest dsdt fot t510 with correct and actual versions of patches

Attached File  dsdt-1.51-clean-fixes.aml.zip   26.85KB   41 downloads





Also tagged with one or more of these keywords: lenovo, lion, t510, osx, mountain lion


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