Page 2 of 3
Re: Snow leopard on X60s
Posted: Mon Jan 25, 2010 5:39 am
by Silencer
martin255 wrote:
Since nothing else seems to be working, I am now in the (long) process of fixing the DSDT. Not much result for now, except that I can now use native brightness control and I don't need a modded IOATAFamily.kext anymore. Also the GMA950 works with the Vanilla kexts, even without an EFI string.
Can you shed some light on how did you enable native brightness control on your X60? Any particular sections of DSDT? I hope it might help me with my T60p, where brightness control is a real pain (Fn+keys only controls right side of the screen, left goes off immediately).
Also, a couple of posts ago you managed to get your Sleep working. I never had any problems with 10.5, where I simply disabled AppleLPC.kext and it was peachy. In SL I have disabled AppleLPC.kext and used SleepEnabler, but I have the same symptoms, it goes to sleep but never wakes up. Starts spinning HDD and cooler, but the little sleep moon stays on and the screen stays off.
Re: Snow leopard on X60s
Posted: Mon Jan 25, 2010 5:46 am
by martin255
For brightness control, see here:
http://www.mydellmini.com/forum/mac-os- ... io-19.html
(the first two posts). Brightness is now controlled by ScrLk and Pause.
As for sleep, I never really understood why it worked and why it stopped. As I mentioned earlier in the thread, it worked for about a week, then the install crashed and could not be restarted.
Re: Snow leopard on X60s
Posted: Mon Jan 25, 2010 5:51 am
by Silencer
Great, thanks. Looks like something I can try in ATIinject.kext or in EFI strings.
Re: Snow leopard on X60s
Posted: Mon Jan 25, 2010 8:45 am
by Sebinouse
martin255 wrote:I can now use native brightness control and I don't need a modded IOATAFamily.kext anymore. Also the GMA950 works with the Vanilla kexts, even without an EFI string.
Native Brightness Control by Snow works for me (brightness dim before screen sleep, or screen dim while on battery) but I am no longer able to use the "Fn" keys ...
IOATAFamily and GMA950 work great !
Re: Snow leopard on X60s
Posted: Mon Jan 25, 2010 8:52 am
by martin255
Yes, you can't have both control methods at once. You can still use Fn+PGgUp/PgDn before Chameleon finishes loading, though.
Re: Snow leopard on X60s
Posted: Mon Jan 25, 2010 8:58 am
by Silencer
martin255 wrote:Yes, you can't have both control methods at once. You can still use Fn+PGgUp/PgDn before Chameleon finishes loading, though.
Yeah, but this is far from the best solution. I would prefer Fn+ keys to SnowLeo software controls.
Re: Snow leopard on X60s
Posted: Mon Jan 25, 2010 9:10 am
by martin255
Well, I think it's better to let the OS control the brightness level to be able to save battery life, but you are welcome to edit my DSDT to suit your own needs and preferences.
Re: Snow leopard on X60s
Posted: Tue Jan 26, 2010 8:18 am
by eszt
Hi,
its great to hear that some people succeeded with this hackintosh. I'm trying to install it as well. I'm on my the 3rd run now, and cannot path the point where a gray screen has a dark apple on it. in other words the installer itself won't start. Any suggestions what I might be missing?
I tried to follow all the instructions from lifehacker.com. The one point I'm not completely sure about is what should I change in my bios, as mine looks so much different from the one he describes there, and I'm not an expert on what all it means. I did made sure that SATA is on AHCI. As for the CPU, I tried both enabling and disabling virualisation. Still only a gray half eaten apple.. no movement after that.
I also tried to add the gms950 kext to the extra folder as mentioned here, but could not find a download (that does not require a login, etc) Do you have a link to that?
happy for any advice!
thanks in advance
Re: Snow leopard on X60s
Posted: Tue Jan 26, 2010 8:24 am
by martin255
You should try with the SATA controller on Legacy or compatibility, instead of AHCI. As mentioned earlier in the thread, there are some issues with the SATA controller having only one channel.
Re: Snow leopard on X60s
Posted: Thu Jan 28, 2010 1:16 pm
by drlj78
Can someone share the gma950 they have working? I have the x60s non tablet. osx installed and updated to 10.6.2 but the external monitor is all that works.
Thanks!
Re: Snow leopard on X60s
Posted: Thu Jan 28, 2010 4:19 pm
by Sebinouse
drlj78 wrote:Can someone share the gma950 they have working? I have the x60s non tablet. osx installed and updated to 10.6.2 but the external monitor is all that works.
Thanks!
My way to install Snow on a X60 (mine is a tablet...) was :
just to delete AppleIntelGMA950.kext and AppleIntelIntegratedFramebuffer.kext from /S/L/E of your install USB Dongle ... (no QE/CI)
you can also try to add the EFI String for GMA950 in your com.apple.Boot.plist (QE/CI, compatible with updates)
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Graphics Mode</key>
<string>1024x768x32</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>-v</string>
<key>device-properties</key>
<string>6d0000000100000001000000610000000200000002010c00d041030a000000000101060000027fff0400100000006d006f00640065006c0000000b000000474d4120393530200000004100410050004c002c00480061007300500061006e0065006c0000000800000001000000</string>
</dict>
</plist>
you can also use the DSDTX60.aml from martin255 earlier in this thread (QE/CI, compatible with updates)
or you can use
these old kexts (QE/CI, NOT compatible with updates)
Re: Snow leopard on X60s
Posted: Fri Jan 29, 2010 8:31 am
by Sebinouse
Silencer wrote:
Yeah, but this is far from the best solution. I would prefer Fn+ keys to SnowLeo software controls.
martin255 wrote:Well, I think it's better to let the OS control the brightness level to be able to save battery life, but you are welcome to edit my DSDT to suit your own needs and preferences.
You can recover Brightness Control by using
Shades ... it's a way to have both !
Re: Snow leopard on X60s
Posted: Fri Jan 29, 2010 3:48 pm
by drlj78
Thanks Sebinhouse... the kext's did the trick... now I have one more small issue I haven't figured out yet. Anytime I try to boot directly from the HD I'm getting a kernel panic error mentioning the IOATAFAMILY yet I can boot the install on the drive from the usb install key? So what is the difference between using the bootloader on the HD vs the USB key. Used the same chameleon and pcefi. I've got ahci set in the bios.
Thanks!
Re: Snow leopard on X60s
Posted: Fri Jan 29, 2010 4:08 pm
by drlj78
Ok, This fixed the IOATAFAMILY error:
http://www.insanelymac.com/forum/index. ... pic=186609 Then had it hanging at the smc... installed the fakesmc kext from the extra dir on the usb and I'm in!
Thanks!
Re: Snow leopard on X60s
Posted: Mon Feb 08, 2010 7:59 am
by Sebinouse
Any improvement about your DSDT patching martin ?
Re: Snow leopard on X60s
Posted: Mon Feb 08, 2010 8:02 am
by martin255
Sorry, no - I damaged my X60s while attempting the SXGA+ mod, and now I can't use it with OS X anymore.
So don't expect much from me for now. I will post again in this topic if there are any improvements.
Re: Snow leopard on X60s
Posted: Mon Feb 08, 2010 8:17 am
by Sebinouse
Wow ... I didn't expect dsdt patching to cause permanent hardware issues ... I always assumed a "full restore" would solve everything ...
I do hope you will recover you hackintosh soon !
Re: Snow leopard on X60s
Posted: Mon Feb 08, 2010 8:38 am
by martin255
Sorry, it seems my last post was confusing: my issues have nothing to do with DSDT. I attempted a hardware mod on my X60s (installing a SXGA+ screen), and it seems that I damaged the CPU thermal sensor in the process. Now I must use an OS that allows me to control the CPU fan via software, so OS X is out for now.
Re: Snow leopard on X60s
Posted: Mon Feb 08, 2010 8:55 am
by Silencer
Sebinouse wrote:Any improvement about your DSDT patching martin ?
Maybe I can help you with DSDT patching sometime soon. I'm now in the middle of my "Vanilla T60p" project, which I will create a separate post about. I'm trying to achieve an almost perfect Vanilla Snow Leo installation by modifying as many things in DSDT as possible. As far as I know X60 and T60 should be very similar platform-wise, so my DSDT patches should be helpful.
For now I have managed to keep /System/Library/Extensions absolutely free from any modifications (no kext or plist patching, no custom kexts) and I have bare minimum in /Extra/Extensions. With DSDT patching I managed to have working:
- Vanilla SpeedStep works with vanilla AppleIntelCPUPowerManagement.kext (need to make c-states working for absolute perfection)
- IOATAFamily.kext kernel panic cured
- Shutdown works out of the box, restart works with DSDT/FADT fix
- Lid closing sleep works
- Graphics works without any injectors with native drivers (FireGL V5200), need to look into mouse tearing problem
- ICH7-M platform is recognized correctly
- Audio (with internal mic) works with VoodooHDA.kext and _without_ touching or removing vanilla AppleHDA.kext
Currently working on:
- C-states enabling for better power management
- Vanilla graphics improvements (resolution switching, mouse tearing)
- Vanilla battery meter
- Sleep
Re: Snow leopard on X60s
Posted: Fri Feb 12, 2010 6:10 am
by Sebinouse
I have done a clean install method for 10.6.2 in french and in english ... based on this
page.
The files you need are
here
Update : English
Re: Snow leopard on X60s
Posted: Sat Feb 20, 2010 11:29 am
by Sebinouse
martin255 wrote:
Since nothing else seems to be working, I am now in the (long) process of fixing the DSDT. Not much result for now, except that I can now use native brightness control and I don't need a modded IOATAFamily.kext anymore. Also the GMA950 works with the Vanilla kexts, even without an EFI string.
Next up are:
- Sleep
- Correct FSB detection
- Fix the Firewire error that slows down the boot process
I also decided to give DSDT Fixing a try. I manage in addition to fix:
- AHCI (no more AHCIPortInjector.kext and IOAHCIBlockStorageInjector.kext in /E/E)
- AppleHDA (don't need to delete AppleHDA.kext from /S/L/E, but require VoodooHDA in /E/E)
- Vanila SpeedStep (no NullCPUPowerManagement.kext, SleepEnabler.kext and VoodooPowerMini.kext)
- EHCI / UHCI (right device id)
But as you were previously, I am stuck with:
- Firewire
- Sleep
For the sleep issue, here is a log of the sleep/wake sequence :
Code: Select all
20/02/10 15:27:05 mDNSResponder[25] mDNSPlatformRawTime: last_mach_absolute_time 85BCF37D00000048
20/02/10 15:27:05 mDNSResponder[25] mDNSPlatformRawTime: this_mach_absolute_time 85BB2BC500000048
20/02/10 15:27:05 kernel FakeSMC: key info not found CLWK, length - 6
20/02/10 15:27:05 kernel hibernate image path: /var/vm/sleepimage
20/02/10 15:27:05 kernel sizeof(IOHibernateImageHeader) == 512
20/02/10 15:27:05 kernel Opened file /var/vm/sleepimage, size 1073741824, partition base 0x3c0007e00, maxio 100000
20/02/10 15:27:05 kernel hibernate image major 14, minor 4, blocksize 512, pollers 4
20/02/10 15:27:05 kernel AirPort: Link Down on en0. Reason 1 (Unspecified).
20/02/10 15:27:05 kernel hibernate_alloc_pages flags 00000000, gobbling 0 pages
20/02/10 15:27:05 kernel VoodooHDADevice[0x36a7800]::performPowerStateChange(1, 0)
20/02/10 15:27:05 kernel VoodooHDADevice[0x36a7800]::suspend
20/02/10 15:27:05 kernel Power down FG cad=0 nid=1 to the D3 state...
20/02/10 15:27:05 kernel Power down FG cad=1 nid=2 to the D3 state...
20/02/10 15:27:05 kernel Resetting controller...
20/02/10 15:27:05 kernel VoodooHDADevice[0x36a7800]::resetController(0)
20/02/10 15:27:05 kernel Suspend done.
20/02/10 15:27:05 kernel System SafeSleep
20/02/10 15:27:20 kernel hibernate_page_list_setall start
20/02/10 15:27:20 kernel hibernate_page_list_setall time: 109 ms
20/02/10 15:27:20 kernel pages 175100, wire 44370, act 28836, inact 185, spec 50, zf 0, throt 0, could discard act 16477 inact 17914 purgeable 3530 spec 63738
20/02/10 15:27:20 kernel hibernate_page_list_setall found pageCount 73441
20/02/10 15:27:20 kernel IOHibernatePollerOpen, ml_get_interrupts_enabled 0
20/02/10 15:27:20 kernel IOHibernatePollerOpen(0)
20/02/10 15:27:20 kernel writing 72620 pages
20/02/10 15:27:20 kernel image1Size 64749056
20/02/10 15:27:20 kernel PMStats: Hibernate write took 3663 ms
20/02/10 15:27:20 kernel all time: 3663 ms, comp time: 1318 ms, deco time: 0 ms,
20/02/10 15:27:20 kernel image 121381888, uncompressed 297451520 (72620), compressed 117717368 (39%), sum1 8f5c1562, sum2 876a51c3
20/02/10 15:27:20 kernel hibernate_write_image done(0)
20/02/10 15:27:20 kernel sleep
20/02/10 15:27:20 kernel Wake reason = power-button
20/02/10 15:27:20 kernel Unsynchronized TSC for cpu 1: 0x0000000020a3fe06, delta 0x73ef6
20/02/10 15:27:20 kernel System Wake
20/02/10 15:27:20 kernel FakeSMC: key info not found CLWK, length - 6
20/02/10 15:27:20 kernel FakeSMC: key info not found CLWK, length - 6
20/02/10 15:27:20 kernel Previous Sleep Cause: 0
20/02/10 15:27:20 kernel ApplePS2Mouse: Unexpected data from PS/2 controller.
20/02/10 15:27:20 kernel VoodooHDADevice[0x36a7800]::performPowerStateChange(0, 1)
20/02/10 15:27:20 kernel VoodooHDADevice[0x36a7800]::resume
20/02/10 15:27:20 kernel Resetting controller...
20/02/10 15:27:20 kernel VoodooHDADevice[0x36a7800]::resetController(1)
20/02/10 15:27:20 kernel VoodooHDADevice[0x36a7800]::initCorb
20/02/10 15:27:20 kernel VoodooHDADevice[0x36a7800]::initRirb
20/02/10 15:27:20 kernel Starting CORB Engine...
20/02/10 15:27:20 kernel Starting RIRB Engine...
20/02/10 15:27:20 kernel Enabling controller interrupt...
20/02/10 15:27:20 kernel Power up audio FG cad=0 nid=1...
20/02/10 15:27:20 kernel AFG commit...
20/02/10 15:27:20 kernel HP switch init...
20/02/10 15:27:20 kernel OSS mixer reinitialization...
20/02/10 15:27:20 kernel VoodooHDADevice[0x36a7800]::audioCtlOssMixerSetRecSrc(0x3a78204, 0x80)
20/02/10 15:27:20 kernel warning: couldn't set recording source to microphone
20/02/10 15:27:20 kernel Power down unsupported non-audio FG cad=1 nid=2 to the D3 state...
20/02/10 15:27:20 kernel Resume done.
20/02/10 15:27:20 kernel getWOW_PARAMETERS: Can't set wow params. Wow is not supported
20/02/10 15:27:20 kernel VoodooSDHCI: initializing spec 2.0 SD card
20/02/10 15:27:20 kernel getWOW_PARAMETERS: Can't set wow params. Wow is not supported
20/02/10 15:27:20 configd[13] network configuration changed.
20/02/10 15:27:21 kernel VoodooSDHCI: we have HC card
Code: Select all
ApplePS2Mouse: Unexpected data from PS/2 controller.
Next Step will be to get rid of AppleACPIPS2Nub.kext
Re: Snow leopard on X60s
Posted: Sat Feb 20, 2010 5:28 pm
by Silencer
Sebinouse wrote:Next Step will be to get rid of AppleACPIPS2Nub.kext
I don't think that's ever going to be possible. Original Mac use USB bus for internal keyboard/trackpad connection. Most of other laptops use PS2, and unless there's BIOS level emulation of USB for PS2, you cannot do much with it.
Re: Snow leopard on X60s
Posted: Sat Feb 20, 2010 5:32 pm
by Silencer
Sebinouse wrote:
But as were previously, I am stuck with:
- Firewire
I don't have Firewire in T60p, but I've seen some DSDT fixes for it. Have you tried this method:
Code: Select all
Method (_L18, 0, NotSerialized) // Newly added for FireWire support.
// 18 - Выбираем незанятый номер.
{
Notify (\_SB.PCI0.PCIB.FRWR, Zero)
}
Code: Select all
Device (FRWR) // Newly added Device for FireWire support.
{
Name (_ADR, 0x00030000)
Name (_GPE, 0x18) // 0x18 - соответствует номеру в Method (_L18,....
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"fwports",
Buffer (0x04)
{
0x02, 0x00, 0x00, 0x00
}
}, Local0)
MCDP (Arg2, RefOf (Local0))
Return (Local0)
}
}
Code: Select all
Method (MCDP, 2, NotSerialized) // New Method V1.1 – By Master Chief.
{
If (LEqual (Arg0, Zero)) // Function index: 0
{
Store (Buffer (One)
{
0x03
}, Arg1)
}
}
Re: Snow leopard on X60s
Posted: Sun Feb 21, 2010 8:41 am
by Sebinouse
I have tried this (which is very close):
lspci gave me :
Code: Select all
15:00.1 Ricoh Co Ltd R5C552 IEEE 1394 Controller [1180:0552] (rev 09)
I added this in "Scope (_GPE)"
Code: Select all
Method (_L0B, 0, NotSerialized)
{
Notify (\_SB.PCI0.PCIB, 0x02) Notify (\_SB.SLPB, 0x02)
}
and this in "Device (PCIB)"
Code: Select all
Device (FRWR) // Added device for 15:00.1 Ricoh Co Ltd R5C552 IEEE 1394 Controller [1180:0552] (rev 09)
{
Name (_ADR, 0x15000001) // Reported by 'lspci' 15:00.1
Name (_GPE, 0x0B) // Callback to (_GPE) Method (_L0B) for (PCIB)
// Name (_SUN, 0x01) // PCI slot 1 in System Profiler (cosmetic)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x06)
{
"built-in",
Buffer (0x01)
{
Zero
},
"fwhub",
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"device-id",
Buffer (0x04)
{
0x52, 0x05, 0x00, 0x00 // device ID [1180:0552]
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
But I still have this error on boot :
Code: Select all
FireWire runtime power concervation disabled. (2)
As I don't have any FireWire device with me, I don't know if it really works ...
Do you know where to put the third part of you code, I have never seen this for firewire ... I used this topic for the DSDT patch :
http://www.insanelymac.com/forum/index. ... pic=196359 ... thanks
Re: Snow leopard on X60s
Posted: Wed Feb 24, 2010 2:47 pm
by Sebinouse
Here is my latest DSDT with ...
http://www.mediafire.com/?znxltvwgd5v
- Native Brightness Control
(1) : AHCIPortInjector.kext and IOAHCIBlockStorageInjector.kext can be deleted
(2) : AppleHDA.kext can remain unchanged (and be with VoodooHDA.kext) in S/L/E
(3) : NullCPUPowerManagement.kext and VoodooPowerMini.kext can be deleted, 5 P-States for Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz (in theory we no longer need SleepEnabler.kext also ...)
(4) : May be required for sleep ...
Edit: I've got some random KP with power management ... just add NullCPUPowerManagement.kext to boot again and then delete it again
Re: Snow leopard on X60s
Posted: Thu Feb 25, 2010 4:51 am
by martin255
I got my X60s working again, currently installing Snow. I am impatient to test your new DSDT and will try to help getting sleep to work.
Re: Snow leopard on X60s
Posted: Sun Feb 28, 2010 2:04 pm
by Sebinouse
Once you have 10.6.2 working on you X60, you can
download my /Extra folder, Run AsereBLN installer, remove/restore any custom kext in /S/L/E and then run pfix ... this might work for you as well ... let me know !
Re: Snow leopard on X60s
Posted: Wed Mar 03, 2010 6:07 am
by martin255
Just using your E/E folder 'as is' does not work for me. It might be because I did not follow the same install procedure, or something else entirely, I don't know.
Anyway, I am now using your DSDT, a legacy kext for Wifi support, fakemsc, VoodooMonitor, VoodooTSCSync, VoodooHDA, VoodooPS2Controller/ACPIPS2Nub, VoodooBattery, and VoodooSDHC. Sleep does not work - it's impossible to wake.
The other problem I have is with VoodooHDA - when I try to enable mic support, everything seems to work, but I actually have no sound anymore. The mic is not essential to me so I might switch back to AppleAzaliaAudio.
What kind of battery life are you getting with Vanilla Speedstep? My temps are bad (idle at around 60°C), and so is battery life (3-4h on an 8-cell). I had way better results with VooodooPower.
Also, I did take a look inside your legacy kext. Can you explain what each fix does? I don't have a tablet, so I'm not sure which fixes are useful for me.
In any case thanks for your hard work. Without your efforts I would not even have tried to reinstall Snow Leo.
Re: Snow leopard on X60s
Posted: Wed Mar 03, 2010 6:15 am
by Silencer
martin255 wrote:Anyway, I am now using your DSDT, a legacy kext for Wifi support, fakemsc, VoodooMonitor, VoodooTSCSync, VoodooHDA, VoodooPS2Controller/ACPIPS2Nub, VoodooBattery, and VoodooSDHC. Sleep does not work - it's impossible to wake.
The other problem I have is with VoodooHDA - when I try to enable mic support, everything seems to work, but I actually have no sound anymore. The mic is not essential to me so I might switch back to AppleAzaliaAudio.
Switch to AppleAzaliaAudio for now, and Sleep will work. This is now known problem with 60-series ThinkPads. I will have vanilla AppleHDA solution ready to replace Azalia sometime soon.
martin255 wrote:What kind of battery life are you getting with Vanilla Speedstep? My temps are bad (idle at around 60°C), and so is battery life (3-4h on an 8-cell). I had way better results with VooodooPower.
Check my
DSDT guide, you need to make sure that you have C-states and P-states active, that will lower your temps. Vanilla SpeedStep can bring temps lower than VoodooPower solution, but you have to work for it.
Re: Snow leopard on X60s
Posted: Wed Mar 03, 2010 6:29 am
by martin255
Thanks for your advice. I was actually planing to also participate in your thread about DSDT patching, but you were quicker than me!
I will try AppleAzaliaAudio and work on Vanilla Speedstep, and report back.