Jump to content

[GUIDE] Snow Leopard on Asus G51J/Jx

- - - - -

  • Please log in to reply
107 replies to this topic

#21
bavc99

bavc99

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts

Hi,

This is all the stuff im using. if you use chameleon, put all these in sl/extra

should get your video, sound, battery, lan work.

im still working on the dsdt file, not perfect now. i'll keep update.



Hi kevin,

I was wondering if you can show me how you modified your DSDT specifically for the GTX 260m? Or provide any links to a tutorial?



I used the nvidia injector from this thread.

http://www.insanelym...p...177855&st=0

Found in this zip.

http://www.insanelym...p...st&id=60209

But when i boot i get Nvidia 9800m as my video card. Full 1080 resolution. but its not quite as fast as when i used your DSDT. I had tried your DSDT but I didn't get any of the NTFS volumes to show up which i need to access so I wish to just add the GTX 260m Portion of your dsdt to my dsdt file.. but i have no idea where the entire entry begins and ends.

Thanks.



Bavc99

#22
ColdStart

ColdStart

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Gender:Male
A VERY dirty hack to get OS X to boot normally:
  • Boot into single user mode as normal with -s
  • Mount the file system by running: mount -uw /
  • Move the old file system checks to a safe place by running: mv /sbin/fsck /sbin/fsck.old; mv /sbin/fsck_hfs /sbin/fsck_hfs.old
  • Make a drop-through fake check by running: pico /sbin/fsck
  • While under pico type this:
    #!/bin/bash
    
    exit 0
  • Once you have done that press Ctrl+X, hit Y, then hit Enter
  • Copy the false check for fsck_hfs by running: cp /sbin/fsck /sbin/fsck_hfs
  • Finally, reboot by running: reboot

So, here is the order of commands:
mount -uw /
mv /sbin/fsck /sbin/fsck.old
mv /sbin/fsck_hfs /sbin/fsck_hfs.old
pico /sbin/fsck
cp /sbin/fsck /sbin/fsck_hfs
reboot

It should be noted that this is a dirty and possibly dangerous hack; however, it works until I can find the root of the problem and fix whatever code is preventing the hard drive from properly being checked.

I'll likely continue working on this platform until it is completely functional, this laptop is my baby and OS X will always be my OS of choice.

#23
Tamed G

Tamed G

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
Wow guys this is awesome, I have been battling with my G51J for a while now and the files you linked here are making everything peachy.

Now if I can just get my iphone to mount in itunes and stop the sound settings forgetting their position I am well on the way to a 100% functioning mac on a 1080p 15" laptop and that's a beastly combo!!

Much thanks to all on this thread.

#24
Tamed G

Tamed G

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
Well I'm close to having a near perfect install and setup.

The only things I am struggling with are...

sleep - closing the lid or choosing sleep causes the display to go blank and the disk light to stay on. I have to do a force power off to reboot and then OS X tries to restart from a corrupt sleep image so that's not so good I guess.

USB - tried the various kexts around to fix the issue of iPhone and iPad not showing in iTunes but they won't show even though they are there in the system profiler. Using vanilla 10.6.2 USB family at the moment.

Card reader - no joy

Down to only 5 kexts on what is virtually a perfect system.

AppleACPIPS2Nub
ApplePS2Controller
fakesmc
VoodooBattery
VoodooHDA

If anyone has any ideas or solutions to the sleep, iphone or card reader that would be awesome.

Thanks for all the help in this thread, my hackintosh is rocking!!!

J

Update: Updated the bios to G60J 207 and iphone issues are all solved very nicely in 10.6.4

Display sleep works but still struggling with shutdown and deep sleep though.

#25
ColdStart

ColdStart

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts
  • Gender:Male

Updated the bios to 207 and iphone issues are all solved very nicely.

Still struggling with shutdown and hibernate though


First, as much as I appreciate your updates, I must ask that you use the edit feature of this forum; this keeps things much more organized.

Second, is that a typo or is that actually 207? I can't seem to find the 207 BIOS anywhere, only version 206.

#26
Tamed G

Tamed G

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
Using the Asus system scan at their web site, they recommend the G60J Bios for the G51JC that I have.

See if you get the same results, there is actually a 208 also...

http://support.asus....d/download.aspx

As for keeping the thread tidy you are right but it seemed dead to me, glad someone is responding to it.

Update: Installed a Dell DW1510 mini-card and now have full wifi OOB, easy swap out of the Intel card that came with the laptop.

#27
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 841 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.
quaestor,

I Would be interested in your DSDT since it should be about 99.9% exactly the same as the G51Jx model? I have the i7-72QM Quad so if you have the i5 not sure if your DSDT will work.

I don't need any injection in the DSDT for graphics as Chameleon will take care of that.

Memory total is 4GB DDR3 not sure if its 1333 or 1068 speed?

There are two extra memory slots to put two more sticks in that model or at least it looks like you can? I could be wrong?

If the G60x model does not have this then maybe the DSDT memory controller sections will be different between models?

I have extracted a DSDT using Ubuntu Live CD so maybe I can just do the three hacks LPC, HPET, RTC and DTGP.

If I don't have to fiddle around with SMBus or Sata Controller ID hacks as many new Intel controller hubs need to fake the controller Ids in OSX, then I can do those easy hack myself. There is a SMBus PCI warning in the kernel log. Do you have this warning? "AppleSMBusPCI::start failed to get acpi path for provider"

If there are more intensive hacks then I would like to at least have a copy of your DSDT as a guide.

That APple MacBook Pro Software Update v1.3 is causing a lot of issues for me. I just re-installed 10.6.3 and will update to 10.6.4.

Does 10.6.4 include the updates for i5,i7 and the newer graphics or only MBP v1.3 update has this for MBP's?

I have read over in the HP DVT8 Guide that they were able to use a real APple Airport Extreme card with some hacking.

Is it possible to find one that is the Half sized card like ours in a APple Brand? If not have to find a Dell equivalent since all their broadcom's work out of the box as they say

Thanks

#28
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 841 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.

Using the Asus system scan at their web site, they recommend the G60J Bios for the G51JC that I have.

See if you get the same results, there is actually a 208 also...

http://support.asus....d/download.aspx

As for keeping the thread tidy you are right but it seemed dead to me, glad someone is responding to it.

Update: Installed a Dell DW1510 mini-card and now have full wifi OOB, easy swap out of the Intel card that came with the laptop.



Tamed G,

Do you think this card has the same size half size mini? If it does I bet that card would work to?

APPLE AIRPORT EXTREME WIRELESS MINI PCI-E CARD- AR5BXB6

#29
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 841 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.
Great news folks. Shutdown now works with this partial DSDT hack I got from the Dell XPS M1330/M1530 Guide.


Replace this code in your DSDT:

[codebox] Method (_PTS, 1, NotSerialized)
{
Store (Zero, P80D)
P8XH (Zero, Arg0)
PTS (Arg0)
If (LEqual (Arg0, 0x03))
{
If (LAnd (DTSE, LGreater (TCNT, One)))
{
TRAP (TRTD, 0x1E)
}
}
}[/codebox]


With this code:

[codebox] Method (_PTS, 1, NotSerialized)
{
If (LEqual (Arg0, 0x05))
{
Store (Zero, SLPE)
Sleep (0x10)
}
}[/codebox]

#30
jsl

jsl

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 323 posts

Great news folks. Shutdown now works with this partial DSDT hack I got from the Dell XPS M1330/M1530 Guide.


Replace this code in your DSDT:

Method (_PTS, 1, NotSerialized)    {        Store (Zero, P80D)        P8XH (Zero, Arg0)        PTS (Arg0)        If (LEqual (Arg0, 0x03))        {            If (LAnd (DTSE, LGreater (TCNT, One)))            {                TRAP (TRTD, 0x1E)            }        }    }


With this code:

Method (_PTS, 1, NotSerialized)    {        If (LEqual (Arg0, 0x05))        {            Store (Zero, SLPE)            Sleep (0x10)        }    }


Thanks for your great post here and it works in My Asus G51J 3D with Leopard 10.5.8 and Snow Leopard 10.6.2, 10.6.3 as well as 10.6.4.
The other not-working issues are (1)internal Wireless Card (2)lack of Volume control of VoodooHDA 0.2.62 version
(3) Lack of Video output from HDMI port esp. with Snow Leopard 10.6.2 ~ 10.6.4 version (Replacing by NV**.kext of 10.6.1 only gets working Video in 10.6.2, but still non-working in 10.6.3 & 10.6.4)
(4) Lack of Audio output from HDMI port in all Leopard and Snow Leopard versions up to now

#31
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 841 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.

Thanks for your great post here and it works in My Asus G51J 3D with Leopard 10.5.8 and Snow Leopard 10.6.2, 10.6.3 as well as 10.6.4.
The other not-working issues are (1)internal Wireless Card (2)lack of Volume control of VoodooHDA 0.2.62 version
(3) Lack of Video output from HDMI port esp. with Snow Leopard 10.6.2 ~ 10.6.4 version (Replacing by NV**.kext of 10.6.1 only gets working Video in 10.6.2, but still non-working in 10.6.3 & 10.6.4)
(4) Lack of Audio output from HDMI port in all Leopard and Snow Leopard versions up to now


Also working on Sleep/Wake and Lid Sleep/Wake Fix. I have to figure out if there is smbus code already in the DSDT under a different Device name? Bus, Smbus, sbus etc nothing there. If not then I have to add SMbus code and if so its not going to be so easy.

DSDTSE has some hacks and I will posts at some forums for help, but for now I am still researching this matter.

I use VoodooHDA for audio

I was wondering if a few of you could post your kernel.log:

In Terminal type:

cat /var/log/kernel.log > Desktop/kernel.txt

#32
jsl

jsl

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 323 posts

Also working on Sleep/Wake and Lid Sleep/Wake Fix. I have to figure out if there is smbus code already in the DSDT under a different Device name? Bus, Smbus, sbus etc nothing there. If not then I have to add SMbus code and if so its not going to be so easy.

DSDTSE has some hacks and I will posts at some forums for help, but for now I am still researching this matter.

I use VoodooHDA for audio

I was wondering if a few of you could post your kernel.log:

In Terminal type:

cat /var/log/kernel.log > Desktop/kernel.txt

This is what I got from my Asus G51J 3D.
Hope you can help us as soon as possible.

Attached Files



#33
pegasso

pegasso

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts

Thanks for your great post here and it works in My Asus G51J 3D with Leopard 10.5.8 and Snow Leopard 10.6.2, 10.6.3 as well as 10.6.4.
The other not-working issues are (1)internal Wireless Card (2)lack of Volume control of VoodooHDA 0.2.62 version
(3) Lack of Video output from HDMI port esp. with Snow Leopard 10.6.2 ~ 10.6.4 version (Replacing by NV**.kext of 10.6.1 only gets working Video in 10.6.2, but still non-working in 10.6.3 & 10.6.4)
(4) Lack of Audio output from HDMI port in all Leopard and Snow Leopard versions up to now



I have an G51J 3d as well but i cant install snow leopard if you can tell us how you do it it will be so great thanks...

#34
jsl

jsl

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 323 posts

I have an G51J 3d as well but i cant install snow leopard if you can tell us how you do it it will be so great thanks...


1.Please follow the guide by Post #1 (Obliviux Feb 26 2010, 05:03 PM)

Or get Hazard_Snow Leopard_10.6.1/10.6.2_SSE2/SSE3_Intel_AMD or its Server DVD
and booting with cpus=1 busratio=20 -v

If not working, you may try Booting with its server version, but installing its Client only

2. /Extra/com.apple.Boot.plist need add GraphicsEnabler=Y
3. /System/library/Extensions need VoodooHDA.kext 0.2.62 for its audio
4. /System/library/Extensions need AtherosL1cEthernet.kext for its wired AR 8131 LAN card
5. /Extra/DSDT.aml need modified for ture power off (shutdown)

#35
gravicle

gravicle

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:US
Hey

I've been attempting this on my so new ASUS G51Jx-X3. I've had done this before with two of my deskops and pretty much know my way around the OSx86 stuff. But this time its really getting me on nerves.

I pop in the Empire-EFI Cd, it boots fine. Insert the Snow-Leo Disk (Burned on a Dual Layer Verbatim form a retail disk image on a REAL mac). But it just flashes some code and very quickly reeboots. The only little glimpse I've been able to get of it has a lot of the word "ACPI" in it. Same with Rebel-EFI. I also have a mac installation on an external USB drive but it won't boot from it. It halts at a screen with a slash(\) over an uderscore.

Please help.

#36
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 841 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.
Attention folks I have modified our DSDT to get both Sleep/Wake to work

There are still couple issues I am working on. The Republic of Gamers LED and a small strip LED on top of the Lid still flash slowly when sleeping and when you open the lid it won't wake unless you strike a key on the keyboard or a momentarily click the power button.

Another issue I am working on is USB DIsk Insertion error from Wake. So make sure you don't keep any Flash Drives in the USB if it goes to sleep until I figure out a Fix.

These fixes came from various sources over time. Some of which I have applied to my Dell XPS M1530 which works flawless and now almost 100% on my Asus G51JX-X5.


Also the EHC0/EHC1 fix has also fixed the shutdown issue so revert the code back to the way it was from my above post.

There is actually better fix for the Lid sleep but it still won't wake unless you press any key on your keyboard or just click momentarily on you power button. See the Clamshell fix below.


Also for those with the AR9285 Atheros Wireless Cards install this into your /system/library/extensions

Backup up the one there first.

http://www.kexts.com...ros_ar9285.html


Clamshell Fix from a XPS M1530 Thread I used in the past for my Dell XPS M1530: Under _SB add this fix.

Device (PNLF)        {            Name (_HID, EisaId ("APP0002"))            Name (_CID, "backlight")            Name (_UID, 0x0A)            Name (_STA, 0x0B)        }


Exact Location in DSDT is Between Device (P0P1) and Device (HDEF)

Device (P0P1)            {                Name (_ADR, 0x001E0000)                Method (_PRW, 0, NotSerialized)                {                    Return (GPRW (0x0B, 0x04))                }            }            Device (PNLF)            {                Name (_HID, EisaId ("APP0002"))                Name (_CID, "backlight")                Name (_UID, 0x0A)                Name (_STA, 0x0B)            }            Device (HDEF)            {


Here are the EHC's Modified. Just replace the before code with the after code. Or copy the code from the DSDT I provided below.

Before Fix:

Device (EHC0)            {                Name (_ADR, 0x001D0000)                Method (_PRW, 0, NotSerialized)                {                    Return (GPRW (0x0D, 0x03))                }            }            Device (EHC1)            {                Name (_ADR, 0x001A0000)                Method (_PRW, 0, NotSerialized)                {                    Return (GPRW (0x0D, 0x03))                }            }


After Fix:

Device (EHC0)            {                Name (_ADR, 0x001D0000)                Name (_S1D, 0x02)                Name (_S3D, 0x02)                Method (_DSM, 4, NotSerialized)                {                    Store (Package (0x0B)                        {                            "AAPL,clock-id",                             Buffer (One)                            {                                0x01                            },                             "device_type",                             Buffer (0x05)                            {                                "EHCI"                            },                             "AAPL,current-available",                             0x04B0,                             "AAPL,current-extra",                             0x02BC,                             "AAPL,current-in-sleep",                             0x03E8,                             Buffer (One)                            {                                0x00                            }                        }, Local0)                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))                    Return (Local0)                }                //Above this code below                Method (_PRW, 0, NotSerialized)                {                    Return (GPRW (0x0D, 0x03))                }            }

AND

Device (EHC1)            {                Name (_ADR, 0x001A0000)                Name (_S1D, 0x02)                Name (_S3D, 0x02)                Method (_DSM, 4, NotSerialized)                {                    Store (Package (0x0B)                        {                            "AAPL,clock-id",                             Buffer (One)                            {                                0x01                            },                             "device_type",                             Buffer (0x05)                            {                                "EHCI"                            },                             "AAPL,current-available",                             0x04B0,                             "AAPL,current-extra",                             0x02BC,                             "AAPL,current-in-sleep",                             0x03E8,                             Buffer (One)                            {                                0x00                            }                        }, Local0)                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))                    Return (Local0)                }                //Above this code below                Method (_PRW, 0, NotSerialized)                {                    Return (GPRW (0x0D, 0x03))                }            }


Here is my latest DSDT all cleaned up and with the SBUS Fix. This takes care of the "** AppleSMBusPCI::start failed to get acpi path for provider" failure issue.



Attached File  Asus_G51Jx_Most_Current_Most_Cleaned_Still_Working_On_Insertion_Error_Fix_SBUS_Working_Now.aml.zip   22.76KB   126 downloads



I have edited this post several times, so any mods you did from the HP dvt8 link I had provided earlier please remove those fixes. The DSDT I have provided above has all the necessary changes I have provided in this post. Since I am spending a lot of time on this there is a chance I might start a new thread we will see?

#37
Cknoblet

Cknoblet

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts

I have edited this post several times, so any mods you did from the HP dvt8 link I had provided earlier please remove those fixes. The DSDT I have provided above has all the necessary changes I have provided in this post. Since I am spending a lot of time on this there is a chance I might start a new thread we will see?

Excellent work oSxFr33k! Sleep is one of the only issues I have left with my similar model G60JX. I am using your DSDT which should be compatible. At this point it does sleep, and I do get the blinking lights that you mentioned. Upon wake, the keyboard/mouse/usb items don't work, so I need to look into sleepWatcher or whatever it is that reloads kexts upon wake.

Thanks man, keep up the DSDT work, it's invaluable.

I have a large post of what's working and how I got it to work in the G60JX thread, here:

http://www.insanelym...p...19591&st=60

There are very few issues left from having a perfect system.

#38
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 841 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.
Thanks for the kind words. I noticed that to but my USB Mouse etc does go back to normal. Not sure why its not on your model.

We have the exact same motherboards. Even on the Box its written model G51Jx-X5 and to the right of the serial number its written M/B VER G60JX 24M

I am assuming M/B is for Motherboard and 24M may be the month released from the factory? Who knows?

Do you have the HM55 or PM55 chipset? What about the Bios? I am on version 208. That the only thing that may be different and if it is that could explain the Lock up!!

I am checking out your link.

There is another thread that was started and this is where I will most likely post back and forth with kizwan. He is real busy but a master to DSDT. Hopefully once the DSDT is perfected like on my Dell XPS M1530 I may start my own thread?

Here is the link:

http://www.insanelym...p;#entry1543611

#39
Cknoblet

Cknoblet

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts

Do you have the HM55 or PM55 chipset? What about the Bios? I am on version 208. That the only thing that may be different and if it is that could explain the Lock up!!

The G60JX uses the HM55 chipset, and I'm using BIOS 206, I'm not sure if there's a 208 for my system or not, but I'll look right now and see if that fixes things for me.

Minutes Later: I've upgraded my BIOS to 208, turns out it was available for my G60JX. Unfortunately, my keyboard/mouse/usbs still won't function after waking the computer. I am waking the computer by hitting the spacebar once, and the system responds immediately.

Days Later: It works! I did a clean install of my system so I could write down every step, and once I had things up and running again, I was able to use your DSDT to have my G60JX sleep and wake with mouse and keyboard functionality. It seems like the USBs might be powered during sleep, and yes the standby lid light blinks, but according to my tests, that battery drain on the blinking is only 1% battery per hour (with a 10 cell battery). I hope you find a fix for turning that light off, but sleep/wake works! Thanks!

#40
Artin Shhverdian

Artin Shhverdian

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Hello guys ,

Thanks for sharing everything, I just had question

when will be WiFi Link 1000 bgn driver available for mac?

can't we use the linux drivers for mac?isnt it written in c or c++? is there anyone working on the driver at the moment?
thank you everyone in advance, i really look forward to a full working snow leopard on g51j,





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