Jump to content

kizwan

Members
  • Content Count

    1,399
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    kizwan got a reaction from kvonlinee in DSDT error help please   
    Change:-

    Store (Local0, Local0)
    to:-

    Store ("Local0", Local0)
  2. Like
    kizwan got a reaction from kvonlinee in DSDT error help please   
    Change:-

    Store (Local0, Local0)
    to:-

    Store ("Local0", Local0)
  3. Like
    kizwan got a reaction from kvonlinee in DSDT error help please   
    Change:-

    Store (Local0, Local0)
    to:-

    Store ("Local0", Local0)
  4. Like
    kizwan got a reaction from kvonlinee in DSDT error help please   
    Change:-

    Store (Local0, Local0)
    to:-

    Store ("Local0", Local0)
  5. Like
    kizwan got a reaction from kvonlinee in DSDT error help please   
    Change:-

    Store (Local0, Local0)
    to:-

    Store ("Local0", Local0)
  6. Like
    kizwan got a reaction from shpokas in Sony Vaio VPCF115FM Discussion: DSDT Injection   
    This is what I'm afraid of. I think sony implement LVDS (internal display) differently. The NVCAP I constructed already point the primary display to LVDS. This is the description of NVCAP by fassl:-

    BYTE: NVCAP_VERSION (hardcoded, goes from 0 to 5) BYTE: HAS_CLAM_SHELL (lid) BYTE: UNKNOWN (most built-in cards and MacPro 7300GT have that set to 1) BYTE: UNKNOWN (most built-in cards have that set to 1. something about backlight?) WORD: OUTPUT GROUP 3 (guessing, it describes what outputs are usable together with S-Video out) WORD: OUTPUT GROUP 1 (describes what outputs are grouped to Display-A) WORD: OUTPUT GROUP 2 (describes what outputs are grouped to Display-B) BYTE: BYTE: BYTE: BYTE: BYTE: BUILT-IN (guessing, built-in cards apart from 7300GO (AppleTV) have this set to 1) BYTE: UNKNOWN (hardcoded value) BYTE: EDID_MANUFACTURER_RESERVED_TIMINGS (BYTE 0x25 of the primary screens EDID) BYTE: BYTE: BYTE: UNKNOWN (MacBookPro 8600MGT (15") 128MB Vram has this set to 1)
    NVIDIA GeForce GT 330M ROM info:-

    Based on the NVIDIA GeForce GT 330M ROM (refer screenshot), I constructed the NVCAP like these:-
    I use NVCAP_VERSION=0x05 (purple) because MacBookPro 6,1 also use the same version. The red, blue & green are OUTPUT GROUP 3, OUTPUT GROUP 1 & OUTPUT GROUP 2 respectively. Since the LVDS (always grouped in OUTPUT GROUP 1) is at index 0, so I set bit 0:-

    hex: 0x0001 --> 01 00 (endian format) binary: 0000 0000 0000 0001
    All other outputs are grouped in OUTPUT GROUP 2. Analog & TMDS outputs are at index 1 & 2 respectively. So, Analog set to bit 1 & TMDS set to bit 2:-

    hex: 0x0006 --> 06 00 (endian format) binary: 0000 0000 0000 0110
    The other thing that can cause blank display is wrong "display-cfg" value but I didn't inject it in the DSDT & it should be fine. The other thing we can try is to inject EDID values. For this you need to install "MonInfo" in windows & post here the "Raw data".
    This is the latest NVCAP (R8, R9 & R10 - download link below) I put in the DSDT. It is taken from Tonymac's NVEnabler:-
    I have generated 3 set of dsdt.aml, R8, R9 & R10. Please provide me two results for each set of dsdt.aml:-
    1) With GraphicsEnabler=No
    2) With GraphicsEnabler=Yes
    Make sure your HDTV is connected via HDMI cable all the time. With GraphicsEnabler=No, if you get blank screen at internal LCD, I really appreciated if you can get the ioreg dump. To do this you have to use VNC because there is no display.
    R8, R9 & R10 dsdt.aml:-
    http://www.mediafire.com/?xmzugwtm0tg
    (R10 contain backlight injection)
    BTW, don't forget to remove any enabler or injector kext for graphic card.
     
    kizwan
  7. Like
    kizwan got a reaction from kvonlinee in DSDT error help please   
    Change:-

    Store (Local0, Local0)
    to:-

    Store ("Local0", Local0)
  8. Like
    kizwan got a reaction from mnfesq in ACPI (DSDT) Patcher for BIOS and AML   
    Hi AgentSlash,
     
    This is your DSDT. I already fixed it. This DSDT is included with CMOS Reset Fix, USB EHCI Sleep Fix & AC Adapter Fix.
    http://www.mediafire.com/?5y28731rdoc7rlm
    Note: The final DSDT is in DSDT_Patcher1.0.1e folder.
     
    For this kind of error:-

    dsdt.dsl 2156: } Return (Package (0x02) {0x00, 0x00}) Error 4080 - Invalid object type for reserved name ^ (found PACKAGE, requires Integer)
    I figured the correct Return code is:-

    Return (Package (One) {Zero})
    There is an illegal IF statement which is not in any control method or function in Device (RP05). I already removed it.
  9. Like
    kizwan got a reaction from micato in (Collection) ATI Mobility Radeon HD - Tested ATIFramebuffer Solution   
    Reminder:-

    This thread is for collection purpose only.
    Please post here ONLY the tested configurations. Labeled which port(s) working & which is/are not OR not tested (because lack of external monitor to test).
    Any query on how to get your ATI working, please go to:-
    Editing custom personalities for ATI Radeon HD[45]xxx, Build your own ATI personality for better ATI Radeon HD[45]xxx support
    Mobility Radeon HD 4650:Full Resolution with QE & CI working on Internal LVDS screen, 10.6.3, 10.6.6, 10.6.7 (Patched ATIFramebuffer.kext)
    Mobility Radeon - 10.6.6 guide for QE/CI - testing 10.7, formerly HD 4xxx now expanded

    [*]When posting the tested configurations here, please follow the same format as I use below (as a guideline). You can change the format a little bit according to whatever you want to report, as long as it's clean.

     
    Dell Studio 1557 - ATI Mobility Radeon HD4570 (Device ID: 0x9553) - Max internal screen resolution: 1366x768
     
    bcc9's RadeonDump's log:-

    ATOM BIOS Rom: SubsystemVendorID: 0x1028 SubsystemID: 0x02bd IOBaseAddress: 0x0000 Filename: BR034783.006 BIOS Bootup Message: BR034783-006 M92 DDR3 64bit 500e/800m Connector at index 0 type: VGA (1) Connector's i2cid: 95 Connector at index 1 type: HDMI-A (11) Connector's i2cid: 91 Connector at index 2 type: LVDS (7) Connector's i2cid: 90 senseid = (i2cid And 0xf) + 1 VGA: (95 And 0xf) + 1 = 6 HDMI: (91 And 0xf) + 1 = 2 LVDS: (90 And 0xf) + 1 = 1
    Dong's RadeonHD's verbose log:-

    Mapping DIG1 encoder to KLDSKP_UNIPHYB Connector "DVI-D 1" uses Monitor "SMB2330H": ... Mapping DIG2 encoder to KLDSKP_UNIPHYE Crtc[1]: found native mode from Monitor[LVDS Panel]: Modeline "1366x768" 67 1366 1383 1395 1434 768 771 773 781 Connector "PANEL" uses Monitor "LVDS Panel": RHDValidateScaledToMode rhdModeValidateCrtc DxModeValid: ATOM CRTC 2 rhdAtomOutputModeValid Listing modesetting layout: ATOM CRTC 1: tied to Atom PLL 1 and LUT A: Outputs: AtomOutputUniphyB (DVI-D 1) ATOM CRTC 2: tied to Atom PLL 2 and LUT B: Outputs: AtomOutputUniphyE (PANEL) Unused Outputs: AtomOutputDACB
    Tested Framebuffer:-
    (Tested with 10.6.6 ATIFramebuffer.kext & ATI4600Controller.kext)

    Peregrine:-
    Patched connection table (32bit):-
    --> 00037278 02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 01 (LVDS) --> 00037288 10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 06 (VGA)
    Patched connection table (64bit):-

    --> 00010F60 02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 01 (LVDS) --> 00010F70 10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 06 (VGA)
    Result: Internal LCD & external LCD connected to VGA port are working. Full resolution support. Mirroring & extended mode are supported. QE/CI are supported.

    Shrike:-
    Patched connection table (32bit):-
    --> 00037298 02 00 00 00 40 00 00 00 09 01 00 00 12 00 00 01 (LVDS) --> 000372A8 10 00 00 00 10 00 00 00 00 01 00 00 00 10 01 06 (VGA) --> 000372B8 00 08 00 00 00 02 00 00 00 01 00 00 20 01 02 02 (HDMI)
    Patched connection table (64bit):-

    --> 00010F80 02 00 00 00 40 00 00 00 09 01 00 00 12 00 00 01 (LVDS) --> 00010F90 10 00 00 00 10 00 00 00 00 01 00 00 00 10 01 06 (VGA) --> 00010FA0 00 08 00 00 00 02 00 00 00 01 00 00 20 01 02 02 (HDMI)
    Result: All ports are working. Full resolution supported. Mirroring & extended mode are supported. QE/CI are supported. Supported configurations are LVDS + VGA & LVDS + HDMI.

    Shrike (with correct Transmitter & Encoder based on the "Dong's RadeonHD's verbose log"):-
    CRTC0 > DIG1 > UNIPHYB > HDMI: Encoder=0x00 Transmitter=0x20
    CRTC1 > DIG2 > UNIPHYE > LVDS: Encoder=0x01 Transmitter=0x12
    CRTC1 > DAC > DACB > VGA: Encoder=0x10 Transmitter=0x10
    Patched connection table (32bit):-
    --> 00037298 02 00 00 00 40 00 00 00 09 01 00 00 12 01 00 01 (LVDS) --> 000372A8 10 00 00 00 10 00 00 00 00 01 00 00 10 10 01 06 (VGA) --> 000372B8 00 08 00 00 00 02 00 00 00 01 00 00 20 00 02 02 (HDMI)
    Patched connection table (64bit):-

    --> 00010F80 02 00 00 00 40 00 00 00 09 01 00 00 12 01 00 01 (LVDS) --> 00010F90 10 00 00 00 10 00 00 00 00 01 00 00 10 10 01 06 (VGA) --> 00010FA0 00 08 00 00 00 02 00 00 00 01 00 00 20 00 02 02 (HDMI)
    Result: All ports are working. Full resolution supported. Mirroring & extended mode are supported. QE/CI are supported. Supported configurations are LVDS + VGA & LVDS + HDMI.


  10. Like
    kizwan reacted to LatinMcG in Atheros AR9285 fix for Snow Leopard - Mavericks   
    check out the AR9287 driver page
    http://www.insanelymac.com/forum/index.php?showtopic=257011
    Only works in Mac_OS_X_10.6.7 with mach_kernel Darwin 10.7.4
     
    update to 10.6.7 then
    Substitute the existing mach_kernel in the MAC OS system drive and Chameleon's Extra folder with this one. Use a small tool 'ShowAllFiles' to show the hidden mach_kernel. Delete it and copy the new one in. Then hide the files.
  11. Like
    kizwan got a reaction from ham4ever in Mobility Radeon HD 4650:Full Resolution with QE & CI working on Internal LVDS screen   
    mucha already explain it at first post:-
    B- Getting the ConnectorType, ATY,ControlFlags,Features, HotplugId and SenseLineId Values:
    and
    C- Getting the Encoder & Transmitter ID Values:
     
    You can obtain SenseID from VBIOS, using radeon_bios_decode.0.2 tool which is available at bcc9's thread.
     
    Per-"C- Getting the Encoder & Transmitter ID Values:", you can get Encoder & Transmitter using Dong's RadeonHD.kext.
     
    Some experience dificulty when using Dong's RadeonHD.kext. So, I did explained here how to get RadeonHD dump using a simple script:-
    http://www.insanelymac.com/forum/index.php?showtopic=245308&view=findpost&p=1792277
     
    and how to read RadeonHD dump:-
    http://www.insanelymac.com/forum/index.php?showtopic=245308&view=findpost&p=1793386
  12. Like
    kizwan got a reaction from ham4ever in Mobility Radeon - 10.6.6/7 guide for QE/CI - testing 10.7   
    If remote connection not possible, then create a script. Download dong's RadeonHD kext ([10/20/2009 update]). There are two file in the zip file; 1) RadeonHD.kext & 2) RadeonDump. This is what you need to do:-

    Move both ATI4600Controller.kext & ATIRadeonX2000.kext from /S/L/E to home folder (e.g. /Users/kizwan/)
    Put RadeonDump in home folder too.
    Install RadeonHD.kext to /S/L/E.
    Create a script file, let say radeonhd, in home folder. Edit radeonhd:-
    #!/bin/bash sudo ./RadeonDump > ati_radeon_dump.txt sudo mv /System/Library/Extensions/RadeonHD.kext . sudo cp -R ATI4600Controller.kext /System/Library/Extensions/ sudo cp -R ATIRadeonX2000.kext /System/Library/Extensions/ sudo chown -R root:wheel /System/Library/Extensions/ATI4600Controller.kext sudo chown -R root:wheel /System/Library/Extensions/ATIRadeonX2000.kext sleep 30 sudo reboot

    Set permission to radeonhd file:-
    * change kizwan to your account name
    chown kizwan:staff radeonhd chmod +x radeonhd

    Edit sudoers file:-
    open terminal
    Run this command:-
    sudo visudo

    It will open a file. Find "# User privilege specification" & edit the line with "%admin" to this:-
    %admin ALL=(ALL) NOPASSWD: ALL
    To edit, you need to press keyboard button one time & make the necessary changes. After you have finished, press [Esc] button.

    Save & exit by pressing keyboard buttons: [shift][:] + [w] + [q], then press Enter.

    [*]Open System Preferences, go to "Users & Groups", click your account, click "Login Items" & add radeonhd in it.
    [*]Reboot


     
    On the next boot, this script will automatically executed. After it finish, it will automatically reboot. "sleep 30" will make the script to wait for 30 seconds before it run reboot command. When it reboot, remember to enter safe mode (boot with -s) & removed radeonhd script to prevent endless rebooting.
  13. Like
    kizwan got a reaction from ham4ever in Mobility Radeon HD 4650:Full Resolution with QE & CI working on Internal LVDS screen   
    mucha already explain it at first post:-
    B- Getting the ConnectorType, ATY,ControlFlags,Features, HotplugId and SenseLineId Values:
    and
    C- Getting the Encoder & Transmitter ID Values:
     
    You can obtain SenseID from VBIOS, using radeon_bios_decode.0.2 tool which is available at bcc9's thread.
     
    Per-"C- Getting the Encoder & Transmitter ID Values:", you can get Encoder & Transmitter using Dong's RadeonHD.kext.
     
    Some experience dificulty when using Dong's RadeonHD.kext. So, I did explained here how to get RadeonHD dump using a simple script:-
    http://www.insanelymac.com/forum/index.php?showtopic=245308&view=findpost&p=1792277
     
    and how to read RadeonHD dump:-
    http://www.insanelymac.com/forum/index.php?showtopic=245308&view=findpost&p=1793386
  14. Like
    kizwan got a reaction from ham4ever in Mobility Radeon - 10.6.6/7 guide for QE/CI - testing 10.7   
    If remote connection not possible, then create a script. Download dong's RadeonHD kext ([10/20/2009 update]). There are two file in the zip file; 1) RadeonHD.kext & 2) RadeonDump. This is what you need to do:-

    Move both ATI4600Controller.kext & ATIRadeonX2000.kext from /S/L/E to home folder (e.g. /Users/kizwan/)
    Put RadeonDump in home folder too.
    Install RadeonHD.kext to /S/L/E.
    Create a script file, let say radeonhd, in home folder. Edit radeonhd:-
    #!/bin/bash sudo ./RadeonDump > ati_radeon_dump.txt sudo mv /System/Library/Extensions/RadeonHD.kext . sudo cp -R ATI4600Controller.kext /System/Library/Extensions/ sudo cp -R ATIRadeonX2000.kext /System/Library/Extensions/ sudo chown -R root:wheel /System/Library/Extensions/ATI4600Controller.kext sudo chown -R root:wheel /System/Library/Extensions/ATIRadeonX2000.kext sleep 30 sudo reboot

    Set permission to radeonhd file:-
    * change kizwan to your account name
    chown kizwan:staff radeonhd chmod +x radeonhd

    Edit sudoers file:-
    open terminal
    Run this command:-
    sudo visudo

    It will open a file. Find "# User privilege specification" & edit the line with "%admin" to this:-
    %admin ALL=(ALL) NOPASSWD: ALL
    To edit, you need to press keyboard button one time & make the necessary changes. After you have finished, press [Esc] button.

    Save & exit by pressing keyboard buttons: [shift][:] + [w] + [q], then press Enter.

    [*]Open System Preferences, go to "Users & Groups", click your account, click "Login Items" & add radeonhd in it.
    [*]Reboot


     
    On the next boot, this script will automatically executed. After it finish, it will automatically reboot. "sleep 30" will make the script to wait for 30 seconds before it run reboot command. When it reboot, remember to enter safe mode (boot with -s) & removed radeonhd script to prevent endless rebooting.
  15. Like
    kizwan got a reaction from ham4ever in Mobility Radeon - 10.6.6/7 guide for QE/CI - testing 10.7   
    From ati_radeon_dump.txt:-

    ... Attaching Output AtomOutputDACA to Connector VGA 1 ... Attaching Output AtomOutputUniphyE to Connector PANEL ... Attaching Output AtomOutputUniphyA to Connector DVI-D 1 ... Mapping DIG1 encoder to KLDSKP_UNIPHYE ... Listing modesetting layout: ATOM CRTC 1: tied to Atom PLL 1 and LUT A: Outputs: AtomOutputDACA (VGA 1) ATOM CRTC 2: tied to Atom PLL 2 and LUT B: Outputs: AtomOutputUniphyE (PANEL) Unused Outputs: AtomOutputUniphyA
    * VGA: VGA port
    * PANEL: internal LCD (LVDS)
    * DVI-D: HDMI port
     
    Information we need from mucha's guide:-

    5- Transmitter; /* u can get this from dmesg after installing Dong's RadeonHD with debug info */ /* Transmitter Bits 0-3 (TransmitterID) */ #define UNIPHY 0x00 #define UNIPHY_1 0x01 #define UNIPHY_2 0x02 /* Transmitter Bits 4-7 (LinkID) */ #define DUAL_LINK 0x00 #define LINK_A 0x10 #define LINK_B 0x20 /* Transmitter byte */ #define UNIPHY_A 0x10 // = UNIPHY:LINK_A #define UNIPHY_B 0x20 // = UNIPHY:LINK_B #define UNIPHY_AB 0x00 // = UNIPHY:DUAL_LINK #define UNIPHY_C 0x11 // = UNIPHY_1:LINK_A #define UNIPHY_D 0x21 // = UNIPHY_1:LINK_B #define UNIPHY_CD 0x01 // = UNIPHY_1:DUAL_LINK #define UNIPHY_E 0x12 // = UNIPHY_2:LINK_A #define UNIPHY_F 0x22 // = UNIPHY_2:LINK_B #define UNIPHY_EF 0x02 // = UNIPHY_2:DUAL_LINK #define DACA 0x00 #define DACB 0x10 6- Encoder; /* u can get this from Dmesg as above for R8XX architecture and above there is 06 Digital Encoder: DIG_1 > DIG_6*/ /* Encoder Bits 0-3 (DIG_ID : Digital) */ #define DIG_1 0x00 // = DIG_A #define DIG_2 0x01 // = DIG_B #define DIG_3 0x02 // = DIG_C Only for Radeon HD 5XXX Series and above #define DIG_4 0x03 // = DIG_D Only for Radeon HD 5XXX Series and above #define DIG_5 0x04 // = DIG_E Only for Radeon HD 5XXX Series and above #define DIG_6 0x05 // = DIG_F Only for Radeon HD 5XXX Series and above /* Encoder Bits 4-7 (DAC_ID : Analog) */ #define DAC 0x10 7- HotplugID; /* 4 bits it's a unique id for each port, i have tried with 0 for port0, 1 for port1 and 2 for port2 and it's just working */ 8- SenseID; /* SenseLine = (i2cid & 0xf) +1 ,you get i2cid from bbc9 radeondump */ Bits 0-3: Sense Line Bit 4: Use hw i2c flag
     
    Connector info is devided to 8 parts:-

    Parts: 1 2 3 4 5 6 7 8 XX 0X 00 00 - XX XX 00 00 - 0X 01 - 00 00 - XX - XX - 0X - 0X
     
    Base on the above information:-

    VGA port: CRTC0 > DAC > DACA: Encoder=0x10, Transmitter=0x00 LVDS: CRTC1 > DIG1 > UNIPHYE: Encoder=0x00, Transmitter=0x12 HDMI: CRTC1 > DIG2 > UNIPHYA: Encoder=0x01, Transmitter=0x10
     
    Your VBIOS dump:-

    Connector at index 0 Type [@offset 45678]: VGA (1) Encoder [@offset 45682]: INTERNAL_KLDSCP_DAC1 (0x15) i2cid [@offset 45740]: 0x90, OSX senseid: 0x1 Connector at index 1 Type [@offset 45688]: LVDS (7) Encoder [@offset 45692]: INTERNAL_UNIPHY2 (0x21) i2cid [@offset 45763]: 0x96, OSX senseid: 0x7 Connector at index 2 Type [@offset 45698]: HDMI-A (11) Encoder [@offset 45702]: INTERNAL_UNIPHY (0x1e) i2cid [@offset 45786]: 0x91, OSX senseid: 0x2
     
    Connection table:-

    02 00 00 00 40 00 00 00 09 01 00 00 12 00 00 07 (LVDS) 10 00 00 00 10 00 00 00 00 01 00 00 00 10 01 01 (VGA) 00 08 00 00 00 02 00 00 00 01 00 00 10 01 02 02 (HDMI)
  16. Like
    kizwan reacted to crowebster in Dell Studio 1557 + eGPU Discussion Thread   
    Hi Kizwan and others!
     
    Ok so I managed to get rid of those wired colours on internal screen
    There is a error in Shrike patch:
     
     
    02 00 00 00 40 00 00 00 09 01 00 00 12 01 00 01 (LVDS)
    10 00 00 00 10 00 00 00 00 01 00 00 10 10 01 06 (VGA)
    00 08 00 00 00 02 00 00 00 01 00 00 20 00 02 02 (HDMI)
     
    020000004000000009010000120100011000000010000000000100001010010600080000000200000001000020000202
     
    That 9 (nine) should be 0 (zero)!
     
    And thats it!
     
    And just for info... iAtkos L2 dvd, Kizwan's AppleHDA.kext and this patch is all I need for my Dell to run Lion.
     
    Good luck guy's!
     
    Bye
    Mario
  17. Like
    kizwan got a reaction from JamerTheProgrammer in Dell Studio 1557 + eGPU Discussion Thread   
    Yes, it can be done as long as the graphic card is supported in Snow Leopard. You can go take a look at my (Snow Leopard) Dell Studio 1557 thread ( http://www.insanelymac.com/forum/index.php?showtopic=218706&st=0 ). Go to page #5.
     
    (P/S: You don't have to quote my long post. I'm very much appreciated if you can edit your post. Thank you.)
  18. Like
    kizwan got a reaction from JamerTheProgrammer in Dell Studio 1557 + eGPU Discussion Thread   
    Lion Installation Guide
     
    * Unless specify otherwise, everything are done in Snow Leopard.
     
    For preparing installation media, I use MaLd0n guide. For the boot loader, I use Kabyl branch of Chameleon 2 RC5 with "KabylLionV4" patch. When preparing installation media, we will need existing Mac OS X. Other requirement are:-

    USB flash drive, at least 8GB.
    Lion Retail (11a494) dmg from Apple App Store.
    At least 50GB of space on target hard disk. Lion only use roughly 40% of the space.

     
    Preparing Chameleon boot files.

    Install XCode.
    You need to download Kabyl's branch of Chameleon 2 RC5 boot loader:-
    mkdir KabylLion cd KabylLion svn co http://forge.voodooprojects.org/svn/chameleon/branches/Kabyl

    Download KabylLionV4.diff from http://forum.voodoop...pic,1890.0.html
    Apply KabylLionV4.diff to Kabyl's branch:-
    cd KabylLion patch -p0 < KabylLionV4.diff

    Edit KabylLion/Kabyl/i386/libsaio/ati.c file:-
    Add ATI Mobility Radeon HD 4570 entry:-
    // add by kizwan - 7 January 2012 { 0x9553, 0x00000000, CHIP_FAMILY_RV710, "ATI Radeon 4500 Mobility Series", kShrike },

    This is for eGPU only. For ATI Radeon HD 5870 reference card.
    //{ 0x6898, 0x0B001002, CHIP_FAMILY_CYPRESS, "ATI Radeon HD 5870", kZonalis }, // changed by kizwan { 0x6898, 0x0B001002, CHIP_FAMILY_CYPRESS, "ATI Radeon HD 5870", kUakari },


    [*]Compile Kabyl's branch boot loader:-

    cd KabylLion/Kabyl/ make
    [*]The compiled files are located in KabylLion/Kabyl/sym/i386/ folder.
    [*]Pre-compiled files: KabylLioni386.zip


     
    Preparing Lion Install Media

    Double click Lion Retail (11a494) dmg to mount it
    In terminal, mount BaseSystem.dmg:-
    open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg

    Plug in the 8GB USB thumbdrive.
    Open Disk Utility. You can format the USB thumbdrive either with GUID/GPT or MBR.

    Restore BaseSystem to USB thumbdrive.

    Unmount BaseSystem.dmg.
    Eject & re-plug your USB thumbdrive.
    Open Finder & go to Mac OS X Base System/System/Installation. Delete the Packages link (alias) & create new folder with the same name, Packages.
    Open new Finder & go to Mac OS X Install ESD/Packages. Copy all files in this folder to the folder you created previously (Mac OS X Base System/System/Installation/Packages.
    Make the USB thumbdrive bootable:-
    Check the USB thumbdrive location.
    bash-3.2# diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *320.1 GB disk0 1: Apple_HFS BootExtra 41.1 MB disk0s1 2: Windows_NTFS System Reserved 104.9 MB disk0s2 3: Windows_NTFS OS 264.4 GB disk0s3 4: Apple_HFS Macintosh HD 53.4 GB disk0s5 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *640.1 GB disk1 1: Windows_NTFS ExtDATA 640.1 GB disk1s1 /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *8.0 GB disk2 1: EFI 209.7 MB disk2s1 2: Apple_HFS Mac OS X Base System 7.7 GB disk2s2
    This show the USB thumbdrive is disk2s2.

    Install boot0, boot1h & boot.
    cd KabylLion/Kabyl/sym/i386/ sudo fdisk -f boot0 -u -y /dev/rdisk2 sudo dd if=boot1h of=/dev/rdisk2s2 sudo cp boot /Volumes/Mac\ OS\ X\ Base\ System/

    Create Extra folder.
    mkdir /Volumes/Mac\ OS\ X\ Base\ System/Extra

    Download, extract & put all files in "/Volumes/Mac OS X Base System/Extra/" folder: Extra.zip
    (Update 31 Jan: The Voodoo PS2 kexts for keyboard & trackpad doesn't work in 64-bit. Please use this kexts instead.)
    (Update 5 Feb: Latest DSDT file for both with & without eGPU: DSDT Update 05022012.zip)

    [*](Optional) For MBR installation, download this & replace OSInstall.mpkg in /Volumes/Mac OS X Base System/System/Installation/Packages/OSInstall.mpkg: OSInstall.mpkg.zip
    [*]Copy mach_kernel from Lion Retail (11a494) file to USB thumbdrive:-

    cp /Volumes/Mac\ OS\ X\ Install\ ESD/mach_kernel /Volumes/Mac\ OS\ X\ Base\ System/


     
    Preparing ATI Mobility Radeon HD 4570 Support

    Extract ATI4600Controller.kext from /Volumes/Mac OS X Base System/System/Library/Extensions/ folder. Put it at desktop.
    We're going to use Shrike personality. For your information, the original Shrike connector info is this:-
    (original) 02 00 00 00 40 00 00 00 09 01 00 00 02 01 00 03 02 00 00 00 00 01 00 00 09 01 00 00 20 01 02 02 00 04 00 00 04 03 00 00 00 01 00 00 10 00 01 01 020000004000000009010000020100030200000000010000090100002001020200040000040300000001000010000101
    Location of Shrike personality in Lion ATI4600Controller binary file for 32-bit & 64-bit support:-

    Offset 0x1FF70, length 0x30
    Offset 0x73EE8, length 0x30

    [*]Patch Shrike personality with our connector info using your favourite hex editor.
    For internal LCD to work, LVDS must not set as "internal" display. So, "features"="00", not "09". (see post #10 (thanks to Crowebster) & #17). This is connector info that has been fixed:-

    02 00 00 00 40 00 00 00 00 01 00 00 12 01 00 01 (LVDS) 10 00 00 00 10 00 00 00 00 01 00 00 10 10 01 06 (VGA) 00 08 00 00 00 02 00 00 00 01 00 00 20 00 02 02 (HDMI) 020000004000000000010000120100011000000010000000000100001010010600080000000200000001000020000202
    [*]Add HD4570 PC ID (0x95531002) in ATI4600Controller.kext/Contents/Info.plist:-

    <key>IOPCIMatch</key> <string>0x95531002 0x94901002 0x94881002</string>
    [*]Save the edited ATI4600Controller.kext in safe place where you can access them later.


     
    Preparing Audio Device (IDT92HD73C1) Support
    For unknown reason, I can't get audio device to work in Lion. However, since I'm able to get audio device to work in Snow Leopard 10.6.8, we will be using 10.6.8 AppleHDA.kext instead. I will be using bcc9's PathMap & PathMapRef. We will be using my own ConfigData from Snow Leopard.


     
    This is pre-patched 10.6.8 AppleHDA.kext for our audio: 10.6.8 AppleHDA.zip


     
    This is how to patch AppleHDA.kext for IDT92HD73C1 if you decide want to try it yourself.

    Patch AppleHDA binary with IDT92HD73C1 PCI ID (0x111d7675 --> read backward --> 75761d11).
    Open AppleHDA.kext/Contents/MacOS/AppleHDA with your favourite hex editor.
    Search & replace all occurrence of 8419D411 with 75761d11
    Update 12 Feb: Search & replace all occurrence of 8319D411 with 00000000

    [*]Open AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist using PlistEdit Pro or any plist editor.

    Locate HDAConfigDefault entry for layout id 12. This is because I already hardcoded the layout id = 12 in DSDT.
    Edit CodecID & ConfigData with IDT92HD73C1 CodecID & ConfigData respectively. You can refer to IDT92HD73C1X5_R3.kext in Extra folder.


    [*]Open AppleHDA.kext/Contents/Resources/Platforms.xml using PlistEdit Pro or any plist editor.

    If you're using Lion AppleHDA.kext, you will need to replace CommonPeripheralDSP with the one from IDT92HD73C1X5_R3.kext.
    Locate PathMaps entry for PathMapID 9. Edit PathMap entry for IDT92HD73C1. You can refer to pre-patched 10.6.8 AppleHDA.kext.

    The PathMapID 268,610,049 is for HDMI audio. Copy this PathMaps entry from pre-patched 10.6.8 AppleHDA.kext (PathMaps #9) & paste it after PathMaps #8 (PathMapID 9 - entry for IDT92HD73C1) in Lion AppleHDA.kext

    [*]Open AppleHDA.kext/Contents/Resources/layout12.xml using PlistEdit Pro or any plist editor.

    Replace PathMapRef entry in layout12.xml with the one from pre-patched 10.6.8 AppleHDA.kext.

    First entry for codec id 268,610,049 is for HDMI audio. PathMapID for this device also use CodecID. You can use different number for PathMapID as long as it's unique & identical with the one defined in Platforms.xml.
    Second entry is for IDT92HD73C1 with PathMapID 9 to match entry in Platforms.xml.



     
    There you go. Now you can start Lion installation on your Studio. After installation, you can boot into Lion using Lion install media (USB thumbdrive) for now.
     
    Make the Lion Disk Bootable
    These steps are done in Lion.

    For example, this is Lion location in disk
    bash-3.2# diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *320.1 GB disk0 1: Apple_HFS BootExtra 41.1 MB disk0s1 2: Windows_NTFS System Reserved 104.9 MB disk0s2 3: Windows_NTFS OS 264.4 GB disk0s3 4: Apple_HFS Macintosh HD 53.4 GB disk0s5
    This show the Lion is at disk0s5.

    Install boot0hfs, boot1h & boot. We'll be using boot0hfs because we want to maintain Windows partition as active partition.
    cd KabylLion/Kabyl/sym/i386/ sudo fdisk -f boot0hfs -u -y /dev/rdisk0 sudo dd if=boot1h of=/dev/rdisk0s5 sudo cp boot /

    Create Extra folder.
    mkdir /Extra

    Download, extract & put all files in "/Extra/" folder: Extra.zip
    (Update 31 Jan: The Voodoo PS2 kexts for keyboard & trackpad doesn't work in 64-bit. Please use this kexts instead.)
    (Update 5 Feb: Latest DSDT file for both with & without eGPU: DSDT Update 05022012.zip)
    Navigate to /Extra/Extensions/ & rename IONetworkingFamily.kext to IONetworkingLegacy.kext
    Move all kexts in /Extra/Extensions/ folder to /System/Library/Extensions/ folder.
    Install the pre-patched ATI4600Controller.kext & 10.6.8 AppleHDA.kext in /System/Library/Extensions/ folder.
    Edit /Extra/com.apple.Boot.plist. Should look like this:-
    Strictly do not use "UseAtiROM=Yes". It can make internal LCD unusable.
    <!--?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>Kernel</key> <string>mach_kernel</string> <key>Kernel Flags</key> <string>npci=0x2000</string> <key>GraphicsEnabler</key> <string>Yes</string> <key>Legacy Logo</key> <string>Yes</string> <key>SMBIOSdefaults</key> <string>Yes</string> <key>UseKernelCache</key> <string>Yes</string> </dict> </plist>

    Rebuild kernelcache:-
    sudo touch /System/Library/Extensions sudo kextcache -system-prelinked-kernel sudo kextcache -system-caches


     
    That's everything. Internal LCD will display with weird colors but external monitor connected to VGA or HDMI will be perfect.
     
    About This Mac:-


     
    Internal LCD works:-

     
    External monitor connected to HDMI port:-

     
    Externel monitor connected to eGPU HDMI port:-

     
    System Information report:-


×