Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


  • Content count

  • Joined

  • Last visited

About stephvax

  • Rank
    InsanelyMac Protégé
  1. DSDT for Sony VAIO VPCZ13

    Hello, I was asked to post my latest DSDT so here it is both compiled and not compiled in the DSDT.zip file. Besides that I made some progress on sound. I was using VoodooHDA but I couldn't get sound over HDMI even with the corresponding DSDT fix. So I studied LegacyHDA extensions and configured paths for the integrated ALC889 chipset. Now sound fully works with internal and external mic, internal speakers and auto switch to headphones if plugged in, sound over HDMI too. Another advantage is that my hackintosh never produced any Kernel Panic since I switch back to vanilla 10.6.2 AppleHDA with that legacy kext. I guess VoodooHDA wasn't as stable as I thought. Here is the legacy extension I'm using too. Regards Now the only things I'm missing are : - backlight (I have no slider, nothing to configure) - fingerprint sensor (under windows it works with upek Protection Suite 2009 but the latest equivalent TrueSuite 2 for mac doesn't recognize the device even after some devid and vendorid changes) - integrated wifi (no real hope so I bought an Asus N10 USB... so little) DSDT.zip Legacy_kext.zip
  2. DSDT for Sony VAIO VPCZ13

    I discovered something new that might be of interest even if it does not concern DSDT anymore. About the integrated Intel E1000 (82577LC model), I was using the IntelE1000e.kext. But that particular kext dowloaded from here : http://www.insanelymac.com/forum/index.php?showtopic=219114 just prevent bridged networking from working in the virtual machine I tested with Parallels / VMWare Fusion and VirtualBox. So I tried the other one I found name "AppleIntelE1000e.kext" found here : http://www.insanelymac.com/forum/index.php?showtopic=205771 and it works now !
  3. DSDT for Sony VAIO VPCZ13

    After digging a little more, I found some info on how NVCAP is "built". I found how to get the display group values based on what the nVidiaInfo can tell. So here is a correct NVCAP for that particular Sony VAIO : 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x6D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, 0x00 I hope this will help others. Now everything is working right on that little laptop except the wifi card that isn't supported for now (Intel 6200). I'm using a ZD1211 based key. Regards EDIT : just for information, I noticed that with that NVCAP, QE/CI is enabled but graphics are slow on internal LCD when it is the only one plugged/used. I tried to replace 0x02 by 0x03 which gives better performance in LCD only mode but then it is impossible to use both external VGA and internal LCD at the same time. Only one can be used at the same time.
  4. DSDT for Sony VAIO VPCZ13

    Well, I finally found some info that explains how to find the right place for the GFX stuff. In my case, it was in the DGPU device (already existing in my dsdt). I just replaced the _DSM method with the one I put in P0P2>GFX0 and it worked ! The only problem left that I already had with chameleon injector is that when I plug an external monitor with vga and then detect monitors, the internal screen goes and stays black. The external one just stays black. The system is still running, I can power if off by pressing the power button followed by "Enter" to confirm clean shutdown. HDMI works fine, haven't tested DVI with the dock station I have at work. Any idea about this ?
  5. DSDT for Sony VAIO VPCZ13

    Here it is... thanks ioreg.txt
  6. DSDT for Sony VAIO VPCZ13

    Thanks for your reply, but honestly, I don't really know what to do with the output of the ioreg command. I saw in your dsdt file that GFX0 is located in P0P2 like I thought it should be. Using your dsdt file didn't change anything. The screen resolution is still 1280x800, no QE/CI. It should work like Chameleon injection (which gives me 1600x900 with QE/CI), should'nt it ? I don't know what to try next... if you have any more idea, I'll try them asap.
  7. DSDT for Sony VAIO VPCZ13

    Sound works now. I found that after 10.6.3 you have to use 10.6.2 AppleHDA.kext... DSDT and Legacy kext were ok. Now, could anyone tell me where to put that Device (GFX0) section in my DSDT ? (The one I added in Device(P0P2), I'm not really sure it should go there...)
  8. Introduce yourself

    Hi, introducing myself after my first post, sorry I'm initially a Web and C developper but I don't do that much nowadays. Recently I took a look at Objective C with the iPhone SDK. I experimented a little with AppleScript, Python and more... I have used PHP a lot with databases too. I hope to make OSX work on my new Sony Vaio VPCZ1 (VPCZ13M9E/:D. It already runs quite stable with a minimum of devices working. I had a few real Mac too, a PowerBook G4 Alu, a 2010 MacBookPro 13" I just sold because I got that Sony (more powerful) at work. I also have used some distros in the past on AMD (iDeneb, Kalyway, ...) with more or less success. Now, I'm interested in applying fixes based on DSDT mods. I applied some but I don't have any knowledge in ACPI tables so I apply them nearly without thinking for now. Any point to low level understanding of ACPI and DSDT stuff is welcome. Anyway, nice forums here, that's the place I found most information in order to have my Sony running OS X. See ya
  9. DSDT for Sony VAIO VPCZ13

    Sorry it seems I broke my dsl decompiled file. I'll post another one soon as I have to redo a patched one.
  10. DSDT for Sony VAIO VPCZ13

    Hello, EDIT 1 : Uploaded new DSDT file. EDIT 2 : Added new System Profiler screenshot and new kernel log, ALC889 is injected and a few devices are detected with corresponding legacy kext taken from [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]. But still no sound device in preferences panes and no vol control. I spent much time on these forums since I got a Sony VAIO VPCZ13 at work in order to replace my 13" MacBook Pro. Is it a VPCZ13M9E/B. It has a Core i5-460m, Geforce 330m with Intel HD Graphics (quite similar to latest MacBookPro), 2x64GB SSD, 4GB RAM, … I played a little bit with kexts, discovered new bootloaders and discovered DSDT injection. I had a little hackintosh knowledge a few year ago when those two last thing weren't that popular. Ok, now what I've achieved, working quite stable both in 32/64 bits : - Install with iAtkos S3 v2 10.6.3 (the only distro/boot CD that include ACPILegacyBlockDevice and ACPIinjector needed since I cannot set SATA to ACPI mode in bios, so they are stuck in RAID mode) - Combo update 10.6.5 - Got GeForce 330m working 1600x900 full QE/CI with chameleon GraphicsEnabler=Yes - VGA external not working both screens black when "detect monitors" - external HDMI tested ok on DVI input monitor - Got USB working with EHCIaquire=Yes and patched IOPCIFamiy.kext - Internal keyboard needs AppleACPIPS2Nub.kext - Trackpad works nicely with VoodooPS2Controller (multitouch) - Sound works with VoodooHDA 2.7.2 but you need to delete AppleHDA* official kexts - Intel Ethernet controller works with IntelE1000.kext - Wireless is not working (Intel 6200) and cannot be accessed so cannot be replaced. I'll have to look for a small USB key. - Battery showing in menu bar with VoodooBattery - Use AppleSMBIOSEFI.kext in 32bits mode to fix "About this mac" crash (does not work in 64 bits) - Using a custom smbios.plist to "emulate" a MacBookPro6,2 Then I wanted to get rid of VoodooHDA by injecting audio in DSDT and using some LegacyHDA.kext and I wanted to inject video stuff too. So I found a few nvidia injection guides and some alc889 injection information, I tried almost everything I could imagine based on that but nothing seems to work. I also added stuff for HDMI at the same time. I still have some problems after booting Win7, OSX boots with the Intel HD card active so I had to remove AppleIntelHDGraphicsFB.kext in order to see something @ 1024x768 no QE/CI (with the kext it works but screen is white, I can use screen sharing just as I read in other forums/posts). I haven't tested external monitors with the intel card active. So I'm asking for help. I'm not sure about how I can determine what injection I have to put in DSDT but here is what I recently tried. For now, with custom DSDT, sound is not working, and nvidia displays only 1280x800 with no QE/CI (just like when injection is not done I guess). Here are 2 screenshots (attached) : one from IORegExplorer showing display properties (using GraphicsEnabler=Yes) and the other sysinfo audio section. I also provide dmesg output (for AppleHDA errors) and some piece of DSDT I added for GFX0 and HDEF. I put GFX0 in P0P2 since it has adress 0x00010000 and it seems that since gfxutil -f display outputs "DevicePath = PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)" that's what I should use, shouldn't I ? I tried by adding a PEGP device for GFX0 but that didn't work either. I finally provide full modified DSDT. Any help would be greatly appreciated ! I'm ready to test anything (almost ) Regards So here are GFX0 and HDEF pieces : Device (P0P2) // Located in Device (PCI0) { Name (_ADR, 0x00010000) Name (_PRW, Package (0x02) { 0x09, 0x05 }) Device (GFX0) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package (0x1A) { "AAPL,slot-name", "PCI x16", "@0,compatible", Buffer (0x0B) { "NVDA,NVMac" }, "@0,device_type", Buffer (0x08) { "display" }, "@0,name", Buffer (0x0F) { "NVDA,Display-A" }, "@1,compatible", Buffer (0x0B) { "NVDA,NVMac" }, "@1,device_type", Buffer (0x08) { "display" }, "@1,name", Buffer (0x0F) { "NVDA,Display-B" }, "NVCAP", Buffer (0x14) { // FROM BIOS ROM : 04 00 00 00 00 00 01 00 00 00 00 00 00 00 00 07 00 00 00 00 // FROM IOREG: 04 00 00 00 00 00 03 00 3C 00 00 00 00 00 00 0A 00 00 00 00 // 0000 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, // 0008 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, // 0010 0x00, 0x00, 0x00, 0x00 }, "VRAM,totalsize", Buffer (0x04) { 0x00, 0x00, 0x00, 0x40 }, "device_type", Buffer (0x0C) { "NVDA,Parent" }, "model", Buffer (0x16) { "nVidia GeForce 330M" }, "rom-revision", Buffer (0x25) { "3172a" }, "hda-gfx", Buffer (0x0A) { "onboard-1" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (HDAU) { Name (_ADR, One) Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "hda-gfx", Buffer (0x0A) { "onboard-1" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (HDEF) // Added in Device (PCI0) { Name (_ADR, 0x001B0000) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0D, 0x05 }) } Method (_DSM, 4, NotSerialized) { Store (Package (0x0A) { "built-in", Buffer (One) { 0x00 }, "codec-id", Buffer (0x04) { 0x85, 0x08, 0xEC, 0x10 }, "layout-id", Buffer (0x04) { 0x75, 0x03, 0x00, 0x00 }, "device-type", Buffer (0x0F) { "Realtek ALC889" }, "PinConfigurations", Buffer (Zero) {} }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } acpi_dsdt.dsl.zip kernel_log.txt