Jump to content

ASUS Zenbook Prime UX31A-DB51 Ultrabook - fixes, mods, tweaks, etc


  • Please log in to reply
950 replies to this topic

#21
giofrida

giofrida

    InsanelyMac Italy

  • Members
  • PipPipPipPipPipPipPip
  • 667 posts
  • Gender:Male
  • Location:Italy
There are the kext not loaded:

AppleACPIPS2Nub.kext
IOHIDFamily.kext
AppleACPIButtons.kext
AppleSmartBatteryManager.kext
AppleEFIRunTime.kext
AppleUSBXHCI.kext
AppleUSBEHCI.kext
IOAHCIFamily.kext
AppleAHCIPort.kext
VoodooPS2Controller.kext
IOUSBUserClient.kext
AppleUSBHub.kext
AppleEFINVRAM.kext
IOAHCIBlockStorage.kext
AppleUSBComposite.kext
IOGraphicsFamily.kext
AppleIntelFramebufferCapri.kext
AppleSMBusController.kext

and many many others..

For touchpad try these kexts:
PS2.zip

#22
nhart12

nhart12

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
so what does that mean that the kexts arent loading? how do i fix it?

#23
giofrida

giofrida

    InsanelyMac Italy

  • Members
  • PipPipPipPipPipPipPip
  • 667 posts
  • Gender:Male
  • Location:Italy
Don't know, maybe doing a clean installation via USB.

#24
tommyleebass

tommyleebass

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:Milano Italy
Sorry for my OT.
But anyone has solved black screen with qe/ci enabled with Nvidia Optimus?

i have ux32vd with HD 4000 / GT 620m

Thank's

#25
nhart12

nhart12

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts

Don't know, maybe doing a clean installation via USB.

ok i did a clean install then updated to 10.8.2 then installed some kexts to get things working, reinstalled chameleon and rebooted using your DSDT.. that seemed to fix the problem of the kexts not fully loading. Attached is a new boot.txt. but still the fn keys dont work and all the processor states dont seem to work. The DSDT you gave me is not patched for HDEF but that is not a big deal i can do that. Thanks for your help!
Attached File  boot.txt   6.58KB   42 downloads

#26
giofrida

giofrida

    InsanelyMac Italy

  • Members
  • PipPipPipPipPipPipPip
  • 667 posts
  • Gender:Male
  • Location:Italy
Perfect! Now all go as should be. Which FN Keys are working and which not? Because audio, volume, sleep (if you have it) should work. The others not (brightness, help, etc..). Tell me also the HDEF patch, i'll apply in the DSDT.

#27
nhart12

nhart12

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
fn f1 sleep works..
fn f2 shuts wifi off but is buggy and delayed
fn f4-f3 the keyboard brightness fn keys are not working.. dont know if thats expected
fn f5-f6- screen brightness doesnt work as expected
fn f7- works to kill the screen backlight
fn f8- might work i will have to wait to test it with an external monitor
fn f9- doesnt work it is supposed to disable trackad.
fn f`10-f12 -audio may work after we patch the dsdt for it. I have already patched AppleHDA.kext.

this is the HDEF patch I used in mine.
Method (_DSM, 4, NotSerialized)
			 {
				 Store (Package (0x0E)
					 {
						 "codec-id",
						 Buffer (0x04)
						 {
							 0x69, 0x02, 0xEC, 0x10
						 },
						 "built-in",
						 Buffer (One)
						 {
							 0x00
						 },
						 "hda-gfx",
						 Buffer (0x0A)
						 {
							 "onboard-2"
						 },
						 "layout-id",
						 Buffer (0x04)
						 {
							 0x0D, 0x01, 0x00, 0x00
						 },
						 "model",
						 Buffer (0x25)
						 {
							 "Realtek ALC269 & Intel Display Audio"
						 },
						 "device-type",
						 Buffer (0x21)
						 {
							 "High Definition Audio Controller"
						 },
						 "PinConfigurations",
						 Buffer (Zero) {}
					 }, Local0)
				 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				 Return (Local0)
			 }


#28
Burbruee

Burbruee

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
  • Location:Sweden
nhart you have sleep working? Mine doesn't sleep. If I close the lid fans still go full blast and when I open it again keyboard/trackpad/external mouse is dead and I have to power the computer off. (powerbutton works)
And you have the ux31a not the ux32vd right? So these DSDT patches you guys are playing around with probably wouldn't work for me? Actually I tried the one you posted in the original post and it got audio up and running but it won't sleep. Oh and I'm on 10.8.0, not 10.8.2. Too scared to update afraid things would break.

#29
giofrida

giofrida

    InsanelyMac Italy

  • Members
  • PipPipPipPipPipPipPip
  • 667 posts
  • Gender:Male
  • Location:Italy

fn f1 sleep works..
fn f2 shuts wifi off but is buggy and delayed
fn f4-f3 the keyboard brightness fn keys are not working.. dont know if thats expected
fn f5-f6- screen brightness doesnt work as expected
fn f7- works to kill the screen backlight
fn f8- might work i will have to wait to test it with an external monitor
fn f9- doesnt work it is supposed to disable trackad.
fn f`10-f12 -audio may work after we patch the dsdt for it. I have already patched AppleHDA.kext.

this is the HDEF patch I used in mine.

Method (_DSM, 4, NotSerialized)
			 {
				 Store (Package (0x0E)
					 {
						 "codec-id",
						 Buffer (0x04)
						 {
							 0x69, 0x02, 0xEC, 0x10
						 },
						 "built-in",
						 Buffer (One)
						 {
							 0x00
						 },
						 "hda-gfx",
						 Buffer (0x0A)
						 {
							 "onboard-2"
						 },
						 "layout-id",
						 Buffer (0x04)
						 {
							 0x0D, 0x01, 0x00, 0x00
						 },
						 "model",
						 Buffer (0x25)
						 {
							 "Realtek ALC269 & Intel Display Audio"
						 },
						 "device-type",
						 Buffer (0x21)
						 {
							 "High Definition Audio Controller"
						 },
						 "PinConfigurations",
						 Buffer (Zero) {}
					 }, Local0)
				 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				 Return (Local0)
			 }


The boot.txt is perfect! No errors found (so no more DSDT fixes). What about USB 3.0? (PXHCD.kext result loaded by reading the boot.txt)

Thanks for HDEF Patch. Added.

For FN Keys no more can be done i think. Try however to increase/decrease brightness with pause/scroll lock.

Attached Files



#30
nhart12

nhart12

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts

nhart you have sleep working? Mine doesn't sleep. If I close the lid fans still go full blast and when I open it again keyboard/trackpad/external mouse is dead and I have to power the computer off. (powerbutton works)
And you have the ux31a not the ux32vd right? So these DSDT patches you guys are playing around with probably wouldn't work for me? Actually I tried the one you posted in the original post and it got audio up and running but it won't sleep. Oh and I'm on 10.8.0, not 10.8.2. Too scared to update afraid things would break.


yes sleep is working. i use a patched version of appleintelcpupowermanagement for ivy bridge processors. that is in that first folder i uploaded in the first post. then click on drop ssdt in chameleon wizard, if you are using chameleon(Im not sure about chimera). Just make sure that you have all your ssdt.aml files placed in System/Extra. You could try mine but i think the UX32VD has an i7 whereas mine is an i5. Mine has 11 different SSDts i had to extract, then just name them SSDT-0.aml SSDT-1.aml SSDT-2.aml etc.. and make sure they are in Extra folder. One problem I ran into was my keyboard wouldnt work after waking up from sleep, but that was fixed by using voodoops2 instead, so I dont know how that will play out for you since you had trouble with your trackpad using that. Hope this helps.

edit: forgot the most important part, make sure chameleon generates p and c states by checking the boxes in chameleon wizard

The boot.txt is perfect! No errors found (so no more DSDT fixes). What about USB 3.0? (PXHCD.kext result loaded by reading the boot.txt)

Thanks for HDEF Patch. Added.

For FN Keys no more can be done i think. Try however to increase/decrease brightness with pause/scroll lock.


I think i gave you the wrong patch for HDEF sorry! and I dont have a scroll lock but I can increase brightness with pause just cant decrease.
Also even though audio is now enabled the fn keys f10-f12 dont work
Here is the correct patch for HDEF you dont have to patch it for me I already replaced the other one with this in my dsdt thanks.

Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x06)
						{
							"hda-gfx",
							Buffer (0x0A)
							{
								"onboard-1"
							},
							"layout-id",
							Buffer (0x04)
							{
								 0x1C, 0x00, 0x00, 0x00
							},
							"PinConfigurations",
							Buffer (Zero) {}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}

I do have a few more questions tho..

Is it possible to make a keymap so i can have proper fn key?

How can I enable all the processor states? Chameleon only generates 2 states it seems.

#31
giofrida

giofrida

    InsanelyMac Italy

  • Members
  • PipPipPipPipPipPipPip
  • 667 posts
  • Gender:Male
  • Location:Italy
1. I don't know anything about keymapping on OS X yet.
2. To enable C and P States, add these flags in org.Chameleon.boot.plist:
<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>


#32
toper

toper

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Hello there,
I have on ux32vd 10Gb RAM, but ML recognize only 3,25 GB RAM.
How can I make use of fully 10GB RAM on ML?

Thx for your help in advance.

#33
nhart12

nhart12

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts

1. I don't know anything about keymapping on OS X yet.
2. To enable C and P States, add these flags in org.Chameleon.boot.plist:

<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>

i have already placed those in chameleon but not all of the states are generated it seems

#34
giofrida

giofrida

    InsanelyMac Italy

  • Members
  • PipPipPipPipPipPipPip
  • 667 posts
  • Gender:Male
  • Location:Italy
Maybe you need a patched SSDT.aml but i don't know how to do that.. sorry. Also because your CPU is Ivy Bridge (and mobile!).

#35
nhart12

nhart12

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts

Maybe you need a patched SSDT.aml but i don't know how to do that.. sorry. Also because your CPU is Ivy Bridge (and mobile!).

ok thank you for all your time and help!

#36
jsl

jsl

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts

I have been running mountain lion on my asus ux31a for over a month now and I thought I would share my progress.

I am a beginner so these are all things Ive found all over that seem to work on this laptop so I decided to share to save others all the looking/trial and error.

So far almost everything is working with only one hardware change (swapping the intel centrino wireless/bluetooth for an atheros). Im using a Macbook air SMbios

So far whats working:

I've patched AppleHDA(attached) by following this guide (URL removed) It works with an HDEF DSDT patch i found somewhere, which Ive attached.

Ive patched the DSDT for certain other fixes just make sure your on 212 bios from asus( its the latest last time Ive checked.)

It seems to sleep/wake with no problems. Ive attached the intelcpupowermanagement kext and the ssdt files that get that working. you just need to have chameleon load the ssdts and generate p/c states.

For HD4000 GPU add this string to device properties in chameleon:
7f0000000100000001000000730000000200000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000002006601140000006800640061002d0067006600780000000d0000006f6e626f6172642d31

Battery meter/trackpad/keyboard/HW Monitor work with the rest of the kexts Ive attached.

OSX freezes when plugging a usb device in.. this be solved by navigating to System/Library/Extension/IOUSBFamily.kext/Contents/Plugins and renaming AppleUSBXHCI.kext to AppleUSBXHCI.kext.bak.. This seems to solve the issue for me.. but I havent tested USB3 functionality since i have no usb 3 devices

To-DO list

  • Ive applied a patch for HDMI/HDMI-audio out.. im just waiting for a cable to test
  • VGA out does not work
  • FN Keys
  • From watching HWMonitor app the processor doesnt seem to use all the available states, it just switches between the 1584Mhz and 792Mhz states so Id like to get it to use more states cause battery life seems to suck.
  • multitouch.. im hopeful for this development thread: http://www.insanelym...ouchpad-driver/
  • Miscellaneous USB issues.. need a dsdt patch for more native fix to the USB problem mentioned above..
So hopefully this thread can hep people with this laptop, and maybe more advanced people than me can help get this laptop working flawlessly with ML

Thank you for your excellent guide and attached files.
1. How many audio output do you get ? (internal speaker, headphone, & Digital HDMI ? because I get internal speaker only.)
2. About this Apple shows HD4000 with 384 MB or 512 MB display RAM ? (Mine shows 384 MB only because I have 4 GB RAM)
3. Did you get proper HDMI audio now ?
4. If you change your device-properties to 00300660114 instead of 00200660114 you should get both internal LCD and micro HDMI-->HDMI port working at the same time as mine.

Edited by Lejenk, 29 March 2013 - 07:17 PM.
Removed URL


#37
nhart12

nhart12

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts

Thank you for your excellent guide and attached files.
1. How many audio output do you get ? (internal speaker, headphone, & Digital HDMI ? because I get internal speaker only.)
2. About this Apple shows HD4000 with 384 MB or 512 MB display RAM ? (Mine shows 384 MB only because I have 4 GB RAM)
3. Did you get proper HDMI audio now ?
4. If you change your device-properties to 00300660114 instead of 00200660114 you should get both internal LCD and micro HDMI-->HDMI port working at the same time as mine.

Both my headphone out and internal speaker are working. Is your headphone output not working? have you patched your dsdt? If not I can try to help you with that.
are you on the ux31a or the 32vd?
I havent tested the hdmi.. still waiting on a monitor.. i will be able to let you know next week. and i will update the guide. Interesting about the device properties I will have to try that when my monitor gets here.
Update: I tried that device string and it wouldnt boot so changed it back.

#38
jsl

jsl

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 241 posts

Both my headphone out and internal speaker are working. Is your headphone output not working? have you patched your dsdt? If not I can try to help you with that.
are you on the ux31a or the 32vd?
I havent tested the hdmi.. still waiting on a monitor.. i will be able to let you know next week. and i will update the guide. Interesting about the device properties I will have to try that when my monitor gets here.
Update: I tried that device string and it wouldnt boot so changed it back.

Mine is Asus UX31A.
Please show me how to enable headphone with patched DSDT.aml.
Using my device-properties (01660003) I can enable both internal LCD and external HDMI display working in 1920x1080 , but it shows 384 MB only instead of 512 MB which showed in my another Asus P8Z77 desktop's HD4000.
Thanks for your kind help again !

#39
iliveinabucket

iliveinabucket

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
Hi I am also a proud owner of an Asus Zenbook Prime UX31a and ever since I got this Ultrabook I've been itching to get OS X up and running on it. Previously, I have ran Snow Leopard on an old Asus gaming laptop before and got it working just fine with only a few kext installations to fix a few minor issues.

I have no experience with DSDTs or SSDTs or the chameleon bootloader or HDEF. However, I'm eager to learn and help out to get OS X working on this stunning 1080p super thin laptop! I shall be attempting to install Mountain Lion on my zenbook prime over the coming weekends when I have time. In the meantime, if nhart12 could describe his/her installation process (like how did you swap out the wifi hardware?) that would be extremely helpful. Thanks and good luck!

#40
nhart12

nhart12

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts

Mine is Asus UX31A.
Please show me how to enable headphone with patched DSDT.aml.
Using my device-properties (01660003) I can enable both internal LCD and external HDMI display working in 1920x1080 , but it shows 384 MB only instead of 512 MB which showed in my another Asus P8Z77 desktop's HD4000.
Thanks for your kind help again !

ok well if that works for great! I will look into the reason for the 384 MB and get back to you..


Hi I am also a proud owner of an Asus Zenbook Prime UX31a and ever since I got this Ultrabook I've been itching to get OS X up and running on it. Previously, I have ran Snow Leopard on an old Asus gaming laptop before and got it working just fine with only a few kext installations to fix a few minor issues.

I have no experience with DSDTs or SSDTs or the chameleon bootloader or HDEF. However, I'm eager to learn and help out to get OS X working on this stunning 1080p super thin laptop! I shall be attempting to install Mountain Lion on my zenbook prime over the coming weekends when I have time. In the meantime, if nhart12 could describe his/her installation process (like how did you swap out the wifi hardware?) that would be extremely helpful. Thanks and good luck!


THere is a thread in the installation section that talks about installing on a UX32VD and the process is exactly the same so I would start there.





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