Re: Snow leopard on X60s
Posted: Fri Feb 12, 2010 6:10 am
Est. 1995 - Copyright © 1995-2017 (see FAQ for details)
https://forum.thinkpads.com/
I also decided to give DSDT Fixing a try. I manage in addition to fix: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
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 cardCode: Select all
ApplePS2Mouse: Unexpected data from PS/2 controller.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.Sebinouse wrote:Next Step will be to get rid of AppleACPIPS2Nub.kext
I don't have Firewire in T60p, but I've seen some DSDT fixes for it. Have you tried this method:Sebinouse wrote: But as were previously, I am stuck with:
- Firewire
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)
}
}
Code: Select all
15:00.1 Ricoh Co Ltd R5C552 IEEE 1394 Controller [1180:0552] (rev 09)Code: Select all
Method (_L0B, 0, NotSerialized)
{
Notify (\_SB.PCI0.PCIB, 0x02) Notify (\_SB.SLPB, 0x02)
}
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)
}
}
Code: Select all
FireWire runtime power concervation disabled. (2)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: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.
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.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.
Lag is easy to fix - check my guide and find DSDT fixes for PIC and TIMR devices.Sebinouse wrote:I guess VanillaSpeedStep can also be improved : I just copy/paste the C-States from Silencer's, I have a very good idle temps around 45° but I also have audio/video lags ... for the moment I am still using VoodooPower !
What PS2 kexts are you using? I have now no problem with waking and using keyboard or trackpoint.Sebinouse wrote:About Audio and Sleep, I already tried Azalia and VoodooHDA in almost every configuration (E/E, S/L/E), sleep works but no keyboard and no mouse on wake ... According to me it comes from PS2 driver which cannot wake the track point for some reason ...
... you are right that one was really easy to fix ! (I should have paid more attention reading your guide !)Silencer wrote:Lag is easy to fix - check my guide and find DSDT fixes for PIC and TIMR devices.
I have tried many of them ... including yours ...Silencer wrote: What PS2 kexts are you using? I have now no problem with waking and using keyboard or trackpoint.
Pointer - you mean trackpad or trackpoint? Red nubbin is trackpointSebinouse wrote:My problem is with ApplePS2Mouse.kext ... once deleted sleep/wake works ! But I really don't understand why !
I am still looking for a solution (my X60 is a tablet so I can use a pointer instead of the trackpoint ...)
Oh, in that case I won't be able to help, since I have to means of testing this.Sebinouse wrote:I mean the magnetic pen provided with the x60t to use directly on the screen ... it's a real TabletMac with either Sleep or trackpoint (the x60t has no trackpad)
Extract your SSDT tables as explained in my guide, and send me your DSDT, SSDT, SMBIOS.plist and legacy kext you're using. I will then have a look, where you might have a problem.martin255 wrote:Now, I will concentrate on the last missing piece: Vanilla Speedstep. I am using the DSDT and legacy kext from Sebinouse but for some reason it does not work (no c-states), even though we have the exact same CPU.
Good news ! Even if it doesn't work for me ... I have still the same ApplePS2Mouse issue on wake ... by the way did you remove the Mouse plugin or the Trackpad plugin ?martin255 wrote:Well, *beep* me, sleep works on my X60s. Perfectly. I finally had the time to carefully read Silencer's DSDT thread and to try Sebinouse's Extra folder, and voilà, it works like a charm. So all credit goes to you guys. I even get the Trackpoint back on wake using VoodooPS2 instead of ApplePS2Controller (this version: http://forum.voodooprojects.org/index.p ... 718.0.html , and you should remove the Mouse plugin from inside the kext).
can you summarize what's working for you, and what not at the moment? and also, what installation method did you use? sorry for asking noob questions, i'm beginner with os x.Sebinouse wrote:Finally I got my X60t to wake properly !:at last:
![]()
Everything is working except VGA-Out, IRda, PCMCIA Slot-in, and I have no way to test firewire ...ernstloeffel wrote:can you summarize what's working for you, and what not at the moment? and also, what installation method did you use? sorry for asking noob questions, i'm beginner with os x.
is tablet mode working with tablet magic?
I have never updated my bios ... I gonna check the version on next reboot. mine is 1.08 ...ernstloeffel wrote:could you maybe post all of your kexts, dsdt and all changed files? i have the latest x60t bios 1.15 which is out for quite a while, so i suppose you probably have the same and i won't have to go through the hazzle of dsdt patching myself.
You just have to edit info.plist in Atherosfix.kext or LegacyX60t.kext and modify the Vendor/Devide Id.ernstloeffel wrote:i have put an atheros ar9280 wifi into my x60t (with hacked bios), it's an original apple pcie card from latest 2009 macbook pro - full 11n with just 2 antennas. it's the main reason for upgrading, because the card doesn't work in leopard and the old atheros card didnt work well.
i think my new card *should* just work without any changes, i'll report back here. besides the probs i had with the old original atheros ar5001x+ under os x, another reason for upgrading the wifi card was that the new 9-series consumes considerably less power, has 11n and has optimized drivers for windows 7 (the old card drew ~ 8w when downloading large files with 2 mb/s where the new card consumes max ~ 4w).Sebinouse wrote: You just have to edit info.plist in Atherosfix.kext or LegacyX60t.kext and modify the Vendor/Devide Id.
that's really old. there have been a lot of fixes since then, including acpi fixes and in particular a "lid close" fix in 1.12Sebinouse wrote: I have never updated my bios ... [snip] mine is 1.08 ...
Here is my latest working config :ernstloeffel wrote:sleep, sound and tablet don't work for me.
thank you very much! i'm just running pfix now. i've a l7500 core2duo and indeed a genuine sxga+ screen. i'm now using a modified t60p legacy kext based on silencer for that reason (core2duo) and your dsdt.Sebinouse wrote:PS: Do you have an Intel GMA950 with the genuine screen ? My boot resolution is only 1024x768 ... and yours 1400x1050 !!!ernstloeffel wrote:sleep, sound and tablet don't work for me.