Jump to content

[GUIDE] OS X Lion on ThinkPad W520

- - - - -

  • Please log in to reply
86 replies to this topic

#61
neckcutta

neckcutta

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
hi fellas, i've edited the Info.plist by copy-pasting chatbox's above (& gotten louder volume with it), but still no automatic switch when i plug in headphones. is there anything else you did differently to make auto-switching work?
---
w520 / voodooHDA 2.7.3

System Info reads:
Intel Corporation 6 series / C200 series chipset family high definition audio controller (0x1c208086)
---
any help greatly appreciated!

#62
Shikumo

Shikumo

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
@neckcutta: try to associate the speaker and headphone nodes like so:
node 25 -> 0x0421104f
node 31 -> 0x90170040

This seems to work for me.

#63
neckcutta

neckcutta

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

@neckcutta: try to associate the speaker and headphone nodes like so: node 25 -> 0x0421104f node 31 -> 0x90170040 This seems to work for me.


worked beautifully!!!!!!!

#64
neckcutta

neckcutta

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
k, here's another "thing" i've run into....

my webcam doesn't show up in FCPX, however it works in skype/facebook/etc. the solution posted here http://www.insanelym...ht&fromsearch=1 doesn't work as Lion no longer supports powerpc apps. any ideas?

#65
Fullmetal99012

Fullmetal99012

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
I have a 4270CTO That is having the sleep issues as well.

My Specs
i7-2760QM
Quadro 2000M
16GB RAM.

I followed the guide a few times, but the machine tries to go to sleep, the power LED ring blinks, then the machine shuts off.

#66
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Update concerned AppleHDA sound on lenovo T/W series from me

http://www.insanelym...dpost&p=1822424

#67
kahuna0k

kahuna0k

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
Hello,

I have succesfully installed (the easy way, with iATKOS L2) and after some more customization I got everything working, and I'm in fact running 10.7.4, but the smart battery seems not to be available for 10.7.4. Also I have a problem with the keyboard, I'm using voodooPS2 with thinkpadUltraNav but the key right of the left shift is not working in the right way, in my Spanish keyboard the < and the º are swapped. I suppose that in an english keyboard the keys would be ` and §. After some googling it seems to be a problem with the VoodooPS2 simulating a 102 keys on a 101 one. Any clue about those problems?

Edit:
Neither the sound is working (tried voodooHDA 2.7.3), I'm going back to 10.7.3.

Regards

#68
kahuna0k

kahuna0k

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
After some work and some more googling and experimenting I finally got a perfect W520 Book Pro :-D, everything is working, even optimus.

Well sort of, I have two DSDT, one with intel + disabled nvidia (about 8 hours of battery life) and the other with nvidia as primary (changing BIOS to discrete only) that gives about 3 hours. I've followed this guide with little additions, for example to get trackpoint working I need to install VoodooPS2 removing all under plugins and adding there the ThinkpadUltraNav.kext. For switching off the nvidia and getting no heat under normal use I modify the DSDT moving the part inside the _PS3 of the nvidia card (discarding the first if) under other Method() and calling this method after initializing the duallink and after the WAK method.

I've attached both of my DSDT the W520_optimus.dsl is the one I use usually, it works with optimus in the BIOS and just use the integrated intel video and switch off the nvidia (as right now there is no way to use optimus under OSX, although it could change with the patch for the MBPR just released), if you need the nvidia card you should change in the BIOS to discrete only and use the other W520_discrete.dsl (DSDT=/Extra/W520_discrete.aml). I've attached the .dsl so be sure that it match your configuration, I have the 2820QM and the Quadro 2000M. You could check the differences with your own, to compile them just use the iasl included with OSX.

Regards!

Attached Files



#69
Kupolski

Kupolski

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
First of all: Thank you for your continued support in getting things to work. My hackintoshed W520 turned out to be more than i could have ever wished for.
The only problem I am facing is the battery life with NVidia graphics. The switch to HD3000/Optimus has not turned out to be quite easy as it was for some of you.

For starters: I extracted my optimus-enabled DSDT using a Linux distribution, decompiled it with iasl in OSX and then continued patching it like I did before with the NVidia-enabled DSDT.

I am using the MacBookPro8,3 SMBIOS, as my Processor matches its i7-2720QM @ 2,2 GhZ variant. Speedstep and TurboBoost are also working properly, when using a patched AICPUPM (with SpeedStepper).

Now to the strange part: When I boot Lion with Optimus enabled, everything works - QE/CI, and I can play Hardware-Accelerated Videos.
The only Problem: The Display is a mess. It uses about 16 colors, has a reddish tint and psychedelically switches colors.
System Report does show the device, but it is not detected as an Intel HD3000, but as an "Unknown Device". I have attached a photo to demonstrate this weirdness:

What can I do to solve this Problem? Shouldn't the HD3000 be detected without using a modified DSDT, as the MacBookPro8,3 uses it?
The IntelHD3000 kexts are on my System, unmodified. I am using Lion 10.7.3 with a legacy ACPI kext (for getting USB and Battery working properly).
For those who have managed to do it - is a modified DSDT necessary to get the Display to show up correctly? Did you have this error?

Thanks in advance! You are my heroes ;)

Attached Files



#70
Kupolski

Kupolski

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
I've gotten the display to work properly. I realized that I absolutely HAD to edit the DSDT in order for it to function - I analyzed kahuna0k's dsl files (integrated vs. optimus) in a diff-checker and edited my optimus-enabled dsdt accordingly. Now I've gotten the display with HD3000 to work, BUT with a few issues.

- Video Outputs don't work. I haven't tested VGA yet, but Display Port won't work at all.

Apart from that, battery life has increased a bit, but not to 8 hours, with the brightness locked I get 5 hours idling.

People who have had success with using the HD3000, have you also encountered these problems and if so, did you manage to fix them?

EDIT: I have fixed the Turboboost issue. I have been always getting different P-State readings using MSRDumper, and the cure for all these problems (and Missing C-State Generation) seems to be a custom ssdt.aml. RevoGirl posted a script on her blog (Get it here: http://revogirl.word...te-ssdt-pr-dsl/) which you can use to generate a fitting ssdt.dsl for your CPU. Just compile it using iasl and put the ssdt.aml into your Extra folder, where Chameleon will search for it and use it automatically. I have turned off all CPU features in Chameleon Wizard. The Result: All P-States are now being reported by MSRDumper, and Power Management finally works (Battery indicator shows 7 hours while idling).

There is still the problem with missing video output.

#71
Shikumo

Shikumo

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
My understanding is, that the external video on the W520 is realized via the NVIDIA card, the Intel HD3000 can't output video on the VGA-/DP-Port. If you need them you have to run the machine with discrete graphics.

#72
Kupolski

Kupolski

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
Now that's a shame. But maybe that means I can finally enjoy my Hackintosh and do some actual work on it, rather than tinkering with maximizing hardware compatibility ;)

I have not lost hope yet... maybe some day we will be able to switch graphics cards while OSX is running. If it is possible on real MacBookPros with gfxCardSwitcher (which Open Source by the way...), then there must be a possibility. Sadly, I don't have enough experience to tackle such a project, so I have to wait and see what happens in the future. And to everyone still using VoodooHDA: please do yourself a favor and get the patched AppleHDA from joshhh and edit the DSDT accordingly. It works beautifully, it's kind of unreal. For everyone interested in audio: I ran Logic and other pro audio applications and never had one hiccup. Even with the lowest latency settings - but of course, the performance ceiling is then greatly lowered by the CPU, so find a comfortable spot in the midrange.

EDIT: joshhh posted the Procedure in this exact thread. Here is the Post you need:
http://www.insanelym...dpost&p=1791513

#73
kahuna0k

kahuna0k

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
Sorry for the late reply, I've been on holidays without internet access. As you've already pointed out video out is linked only to the nvidia card, but anyway I usually don't need both video out and battery life. I've tried to use the AppleHDA patched by joshhh but I'm getting:


Sound assertion "false == codecFound" failed in AppleHDADriver at line 1449 goto handler
Sound assertion "0 == pathMap_aDriverInstance" failed in AppleHDADriver at line 2037 goto Exit
Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in AppleHDADriver at line 207 goto Exit
Sound assertion "false == me->completeStart ()" failed in AppleHDADriver at line 996 goto Exit

even after patching the DSDT. I'm using the T510 appleHDA from this post

http://www.insanelym...howtopic=274218

any clue?

EDIT: Fixed using Joshhh version in this same post :-D ... google too much ...


What about 10.7.4? I'm thinking on upgrading, as the only thing preventing me was the sound not working with VoodooHDA, is it working with patched AppleHDA ??

One more thing I tried revogirl's script to generate SSDT trying to optimize battery life, but I'm getting a panic with an error in the stepper building. I'll check because I think that my own DSDT already includes the SSDT

Regards

#74
Kupolski

Kupolski

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
Yeah, was meaning to link to joshhh's post first but then thought it would'nt be necessary, as everyone would probably have read the whole thread... Fixed that now for clarification.

Glad you could get it to work, VoodooHDA is a pain in the ***.
I have not yet upgraded to 10.7.4 and don't see a need to do it, as everything I need just runs fine in 10.7.3. I don't need the hassle. You could download the ComboUpdate and inspect the package with Pacifist and see if there are new versions of kexts you have currently patched/modified. You would at least need to patch these again after the update, but I would not recommend the procedure unless you can make a complete disk image beforehand in case everything goes FUBAR. About the SSDT generation script - I can't be of any more help, sorry. Sadly, RevoGirl died of complications of her Leukemia treatment recently, and consequently, her blog was shut down. I just followed her instructions, maybe you could try doing it again if you find a cached version of her blogpost i linked earlier.

#75
nukedeath

nukedeath

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
Hello chaps!
Thank you for creating the guide, and to everyone else that has helped getting OSX running on the w520 :)

With the help of joshhh i finally got audio, good job!

DSDT editing was scary :/

I flashed the bios with the the modified 1.34 without whitelist and replaced the card with the artheros 9285 which i had stole from my wrecked asus. Tried modifiying IO80211Family to enable the wlan card, it worked but i could not connect to "N" networks, so i used this kext from http://www.osx86.net...-half_size.html

Now i can atleast access N networks up to 150mbit.
Whats lacking now on my W520 is Battery Indicator, Sleep and Speedstep. So a bit more work left.

EDIT: Downgraded to 10.7.3.

Thank you everyone!

EDIT:
1. Tried trying hard to get speedstepping to work on 10.7.4. I only get 8 and 24 P States, atleast it clocks down the cpu.
2. I got battery working with this little snippet http://www.osx86.net...id=2732&page=2. No DSDT editing, just installed with kext and it works. Abit slow on updating battery status but heck, works for me.

Edited by nukedeath, 11 July 2012 - 09:01 PM.


#76
Kupolski

Kupolski

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
@nukedeath:

In my experience, speedstepping has a lot to do with your choice of the SMBios. Which are you using? Before generating my custom SSDT, MSRDumper-Readings were all over the place when switching SMBioses.
You could try to find out which MacBookPro-SMBios matches your configuration closest (for me it was MacBookPro8,3, make the processor a priority when comparing!) or try to generate your SSDT with the script by RevoGirl.

Using the right SMBios, at least for me more states showed up, even before generating my own SSDT. One more trick: When using the MacBookPro-SMBios, the Info.plist within AppleGraphicsPowerManagement.kext needs to be updated for proper GState-Management when using the NVidia Card. I did overwrite the first Entry under MacBookPro(8,3) with the corresponding one from MacPro(5,1) (with the edited device and vendor-id, plus the custom GStates) and left the second entry as is, hoping it would have to do with integrated graphics. Turns out that it worked, and now I don't have the stuttering GUI problem when using NVIDIA+MacBookPro SMBios. When trying to get Intel HD3000 graphics to work, it is also mandatory (in my knowledge at least) to use the MacBookPro SandyBridge-SMBios (or MacMini, although I am not quite sure on that one). Still on 10.7.3, so maybe there are other problems prohibiting the speedstepping from working.

Also: Are you using the Legacy AppleACPIPlatform.kext (Version 1.3.5)? For me, it was the only way of getting sleep to work correctly, without having dead USB 2.0 ports after waking up.

There is another issue i am facing: I am using this kext for Battery, which was originally suggested by gothic 860: http://www.insanelym...dpost&p=1772114
Using it, when the battery reaches 0%, the system does not do the emergency sleep, it shuts down, as if i was to pull the plug. Because this is not a really healthy behaviour, I have created an Applescript which starts at boot and polls the battery, initiating sleep manually when the battery is nearly empty. But the more elegant solution of course would be for the OS to recognize it in the first place.

So, to all who have the battery indicator working: Does your system go to sleep if the battery reaches 0%? Or does it behave like mine? How could we fix this in a better way?

#77
nukedeath

nukedeath

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
@Kupolski:

Hello!
I am using MacPro5.1, tried changing to MacBookPro8,3 with no luck. Have tried generating an SSDT but seems like it didnt change anything. Going to try more later tonight, i wont dare do anything right now in case it kernel panics when im not at home ^^.

Sleep does not work with my W520 yet, but really I don't need it. It boots up quite fast using SSD so i will try to fix speedstepping first.

EDIT: After trying hard, speedstepping on 10.7.4 is too hard :/

EDIT2: 10.7.3 with this patch AICPMPatch by el coniglio (olarila site) and SMBIOS for macbook pro 8,3 worked quite well, now i get more than two states: 11.07.12 22:59:44,000 kernel: MSRDumper PStatesReached: 8 24 32 34 35

EDIT3:

Also: Are you using the Legacy AppleACPIPlatform.kext (Version 1.3.5)? For me, it was the only way of getting sleep to work correctly, without having dead USB 2.0 ports after waking up.

No, its my USB3 ports that are dying, the combo/sata port works fine.

#78
kahuna0k

kahuna0k

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
@nukedeath:



Hello,

what did you do to install 10.7.4? If I use the combo updater and patch the relevant extensions, but when booting it just hangs after loading the extensions, the last one being VoodooBattery (If I remove that, the result is the same, and the last message is about the wireless interface). Any clue?

Regards,

EDIT: I fixed it just repeating the expected steps, it seems that I've not patchet de RTC kext in the right way, and that was blocking the boot process. No everything is working with 10.7.4. So now I have a W520 triple booting without problems, but I've ordered a Retina Macbook Pro... need to try the real thing :-D

#79
raziiq

raziiq

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
Hi Guys.
I have a dual boot Windows 7 and Lion 10.7.4. Everything is working except the sound. I have been trying to make sound work for quite some time now but to no avail. SystemInfo.app shows i have a 1c20 Audio Controller.

i have an Intel HD audio Controller, an HDMI (Intel HD3000 Graphics) and in Windows Device Manager i can see Conexant (14f1 5069). Also in Windows Device Manager i can see Intel Display® Audio (2805 8606) which is different from what i see in Mac SystemInfo.app (Downloaded from this forum) which is 1c20. I am confused.

None of it is working. Speaker on Menu bar is enabled after installing VoodooHDA-v2.7.2 (1c20x8086 already mentioned in info.plist) but no sound at all. I tried alot of kexts but nothing is working.

Any suggestions in this regard will be highly appreciable.

Thanks

#80
xxxhonyy

xxxhonyy

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Hi, I'm very new to OSx86 so I'm very sory about any silly questions in advance... but I'm been looking for a solution for quite some time and finally decided to ask here as I'm not getting anywhere :-(

I've installed Mountain Lion 10.8.1 using ###### on my W520 and now I'm trying to sort out HW using the guide here but my W520 always get stuck after the reboot.

I know this guide is for Lion distro... but I believe some steps may be the same - so I've been trying to follow this guide.

I started with the chameleon and made org.chameleon.Boot.plist and SMBios.plist files and placed them in /Extra, than I run ###### 5.0.2 looking slightly different - screenshot enclosed. After reboot my OSX is stuck. I also tried to install VoodooHDA-2.7.3 but during OSX start I got a lot of terminal text and OSX got stack as well (both installations gone throught no problem, also tried them separately - in all three cases the same result)

Anybody any idea what I'm doing wrong? Any help will be very appreciated....

Tomas

Attached Files







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