Jump to content

oldnapalm

Moderators
  • Content Count

    6,720
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by oldnapalm

  1. oldnapalm

    DSDT editor and patcher

    El Coniglio released this DSDT editor with automated patching capabilities The main editor windows allows the user to open a DSL file or extract the DSDT from IOReg. It has some useful resources, like syntax highlighting, navigation tree and some options that came with the text editor component it uses, like regex matching, auto completion, jump to pair, etc. The patcher window parses a script-like language representing the patches. The user can preview the modifications before applying them. This "language" allows us to write dynamic patches that can be applied in various situations. More specific commands can be written as they become necessary. For now these are the implemented commands (which can be stacked separated by ";") Changes in latest release: fixed bug which caused data loss if number of open and close brackets don't match fixed compile window to work with new IASL versions updated IASL to 20120420 Download: (last updated on 17/May/2012) Mac OS: DSDTEditor_Mac.zip Linux and Windows: DSDTEditor_Linux_Windows.zip How to apply a patch: [media]http://www.youtube.com/watch?v=nZIHw-QYO64[/media] Screenshots: Linux Windows Credits: Editor component: jsyntaxpane (http://code.google.com/p/jsyntaxpane/) IASL Copyright © Intel Corporation Written in Java
  2. oldnapalm

    Atualização 10.6.8

    Saiu o update 10.6.8 Update: http://support.apple.com/kb/DL1400 (474.2 MB, requer Mac OS X 10.6.7) Combo: http://support.apple.com/kb/DL1399 (1.09 GB, requer Mac OS X v10.6 - Mac OS X 10.6.7) Siga os procedimentos de segurança padrão antes de atualizar http://www.insanelymac.com/forum/index.php?showtopic=236744 Kernel legacy (para CPUs não suportados) http://blog.nawcom.com/?p=791 Kernel para CPUs Atom (por teateam) http://www.mediafire.com/?klo2upgjpy6vfob Problemas comuns: Problema: boot trava em "PCI configuration begin". Solução 1: recuperar as kexts IOPCIFamily e AppleACPIPlatform da versão 10.6.7. Solução 2: usar uma IOPCIFamily modificada (Oleg) http://netkas.org/?p=852 Solução 3: usar o parâmetro "npci=0x2000" em kernel flags (bcc9) http://www.insanelymac.com/forum/index.php...t&p=1706503 Problema: AirPort não funciona mais. Solução: configurar o board-id no smbios.plist http://blog.nawcom.com/?p=763 Exemplo: <key>SMboardproduct</key> <string>Mac-F42D89C8</string> Substitua Mac-F42D89C8 pelo valor adequado ao identificador de modelo usado. Problema: LegacyHDA não funciona mais. Solução: recuperar a AppleHDA usada anteriormente ou editar a nova da mesma forma que a do Lion. http://www.insanelymac.com/forum/index.php?showtopic=257968
  3. O que você vai precisar: - Chameleon BS http://www.mediafire.com/?3p3agyag5ki6wt8 - Binários do Chameleon (tgz) http://www.insanelymac.com/forum/topic/231075-chameleon-22svn-official-pkg-installer-binaries/ Procedimentos: - Abra o Prompt de comando (executar como administrador) - Vá para a pasta onde descompactou o Chameleon_BS.zip cd \Users\"nome do usuário"\Downloads\Chameleon_BS - Rode o comando makeusb [letra do pen drive]: Exemplo: - Desconecte e conecte novamente o pen drive - Copie a pasta Extra do pacote de binários do Chameleon para o pen drive - Copie o arquivo boot da pasta usr\standalone\i386 para o pen drive - Crie uma pasta Extensions dentro da pasta Extra e copie a FakeSMC (e outras kexts que você precise) para ela O pen drive está pronto para fazer boot. Fonte: http://olarila.com/forum/viewtopic.php?f=3&t=487
  4. Para extrair o DSDT você pode rodar o seguinte comando no terminal perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > dsdt.aml") or die; print PIP "$1"; } }' Para extrair o DSDT e aplicar alguns patches automáticos você pode usar o DSDT_Patcher http://www.insanelymac.com/forum/index.php?showtopic=133683 Para compilar e descompilar o arquivo DSDT você pode usar o iASLme http://www.insanelymac.com/forum/index.php?showtopic=189272 Basta arrastar o arquivo e soltar sobre o ícone do programa. Se arrastar um arquivo dsdt.aml (binário) ele será descompilado para o arquivo dsdt.dsl (código fonte). Este arquivo pode ser editado com qualquer editor de textos. Recomendo o TextMate ou o TextWrangler. Se arrastar um arquivo dsdt.dsl (código fonte) ele será compilado para o arquivo dsdt.aml (binário). Basta copiar este arquivo para a raiz ou para a pasta Extra do seu disco de boot que o Chameleon vai carregá-lo no próximo boot, substituindo a tabela DSDT original da BIOS.
  5. oldnapalm

    Sugestões

    Pessoal, acho que esse fórum em português tá muito largado, alguém concorda comigo? Comparem com o fórum em italiano, subfóruns, tópicos fixos, ... (organização) http://www.insanelymac.com/forum/index.php?showforum=96 Vamos nos mobilizar para que o fórum em português dê um passo adiante! Que tal, moderação? Sugiro que sejam criados ao menos subfóruns para dividir instalação de pós instalação, e Leopard de Snow Leopard. Se isso for feito me proponho a criar tópicos básicos de orientação para serem fixados.
  6. oldnapalm

    Yosemite MBR Patch

    Version 10.10 (14A389)

    10,782 downloads

    Patched OSInstaller framework to allow installation on MBR partition. OSInstall.mpkg patch is not needed for MBR installation, it's patched to remove minimum RAM and supported platform checks.
  7. oldnapalm

    Mountain Lion MBR Patch

    Version 10.8.5

    1,728 downloads

    Patched OSInstall.mpkg and OSInstall framework to allow installation on MBR partition. How to use tar zxvf ~/Downloads/MountainLion_10.8.5_MBR_Patch.tar.gz -C /Volumes/"installer volume name"
  8. oldnapalm

    Mountain Lion MBR Patch

    Version 10.8.4

    857 downloads

    Patched OSInstall.mpkg and OSInstall framework to allow installation on MBR partition. How to use tar zxvf ~/Downloads/MountainLion_10.8.4_MBR_Patch.tar.gz -C /Volumes/"installer volume name"
  9. oldnapalm

    Mavericks MBR patch

    Version 10.9.5

    18,881 downloads

    Patched OSInstall.mpkg and OSInstall framework to allow installation on MBR partition. To use these patched files you must create an installer using this method (Pandora's Box should also work). You can't just run the app downloaded from Mac App Store. After creating the installer, run this command in terminal replacing "installer volume name" by the name of your installer drive. If it contains spaces, surround the name by " or precede each space with \ (you can just drag and drop the drive to terminal when typing the command) sudo tar zxvf ~/Downloads/Mavericks_10.9.5_MBR_Patch.tar.gz -C /Volumes/"installer volume name" If you download with Safari, it will automatically expand the gz, so the command should be sudo tar xvf ~/Downloads/Mavericks_10.9.5_MBR_Patch.tar -C /Volumes/"installer volume name"
  10. oldnapalm

    Mavericks MBR patch

    Version 10.9 DP1

    1,245 downloads

    Patched OSInstall.mpkg and OSInstall framework to allow installation on MBR partition. How to use tar zxvf ~/Downloads/Mavericks_DP1_MBR_Patch.tar.gz -C /Volumes/"installer volume name"
  11. oldnapalm

    AICPMPatch

    Version

    2,525 downloads

    Script to patch the kext AppleIntelCPUPowerManagement to work with locked wrmsr BIOS Written by el coniglio Modified by RehabMan http://olarila.com/forum/viewtopic.php?f=9&t=1003&start=160#p30692 Thanks to flAked and dmazar http://www.insanelymac.com/forum/index.php?showtopic=258611 How to use: In terminal cd ~/Downloads/AICPMPatch Find wrmsr (do not patch, just list) perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement Patch wrmsr sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch Update cache sudo touch /System/Library/Extensions
  12. oldnapalm

    Mountain Lion MBR Patch

    Version 10.8.3

    1,231 downloads

    Patched OSInstall.mpkg and OSInstall framework to allow installation on MBR partition. How to use tar zxvf ~/Downloads/MountainLion_10.8.3_MBR_Patch.tar.gz -C /Volumes/"installer volume name"
  13. sudo perl -pi -e 's|\x75\x2e\x0f\xb6|\xeb\x2e\x0f\xb6|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC sudo touch /System/Library/Extensions It's the same patch as ML, just different location, thanks rayap http://www.insanelymac.com/forum/topic/276066-cmos-resets-by-applertckext/ 10.8 < 0000000000001d32 jne 0x1d64 --- > 0000000000001d32 jmp 0x1d64 10.9 < 0000000000000d3e jne 0xd6e --- > 0000000000000d3e jmp 0xd6e
  14. oldnapalm

    VoodooHDA - common problems

    Download: http://code.google.com/p/voodoohda/downloads/list Official thread: http://www.projectosx.com/forum/index.php?showtopic=355 Problem: kernel panic. Solution 1: remove AppleHDA and restart the system before installing VoodooHDA. Solution 2: edit Info.plist, replace the key IOPCIClassMatch by IOPCIPrimaryMatch and put the PCI ID of your audio card in string. Before <key>IOPCI[color="#FF0000"]Class[/color]Match</key> <string>0x04030000&0xffff0000</string> After <key>IOPCI[color="#FF0000"]Primary[/color]Match</key> <string>0x[color="#0000FF"]3b56[/color][color="#008000"]8086[/color]</string> 0xDeviceIDVendorID How to find device and vendor ID http://www.insanelymac.com/forum/index.php?showtopic=219584 Problem: kext doesn't work (usually when there's more than one audio card or the video card has HDMI audio). Solution: use solution 2 for kernel panic problem above. If you want to use both cards, create one entry for each card in IOKitPersonalities. Problem: sound crackles. Solution 1: change output format in Applications - Utilities - Audio MIDI Setup Solution 2: check "Use SSE2" in VoodooHDA prefPane You can also enable Vectorize in Info.plist <key>Vectorize</key> <[color="#FF0000"]true[/color]/> Problem: volume control (slider) doesn't work. Solution: enable VoodooHDAEnableVolumeChangeFix in Info.plist <key>VoodooHDAEnableVolumeChangeFix</key> <[color="#FF0000"]true[/color]/> Problem: volume too low. Solution: enable VoodooHDAEnableHalfVolumeFix in Info.plist <key>VoodooHDAEnableHalfVolumeFix</key> <[color="#FF0000"]true[/color]/> Problem: audio feedback (Larsen effect), sound loop between input (microphone) and output (speakers). Solution: mute iGain and increase iMix or Mic if microphone doesn't work <key>iGain</key> <string>[color="#FF0000"]0[/color]</string> It can also be done in the prefPane. In some cases you may need to mute Monitor instead of iGain. Problem: audio delay. If you change volume, for example, it takes 1 or 2 seconds to play the test sound. Solution 1: delete com.apple.audio.DeviceSettings.plist and com.apple.audio.SystemSettings.plist from /Library/Preferences/Audio and reboot. Solution 2: use SoundFlower. Problem: inputs or outputs don't show in sound preferences. Solution 1: look for a kext patched for your codec. For VT1708S http://www.insanelymac.com/forum/index.php?showtopic=231508 For AD1988B http://www.insanelymac.com/forum/index.php?showtopic=267898 Solution 2: add NodesToPatch basead on getDump output (download in official thread). Example <key>NodesToPatch</key> <array> <dict> <key>Codec</key> <integer>2</integer> <key>Config</key> <string>0x90a70120</string> <key>Node</key> <integer>12</integer> </dict> </array> Config (PinDefault) is made up of the last 2 digits of each codec verb, but in the opposite order 0x[color="#FF0000"]01[/color][color="#008000"]01[/color][color="#0000FF"]44[/color][color="#8000FF"]10[/color] = 21471c[color="#8000FF"]10[/color] 21471d[color="#0000FF"]44[/color] 21471e[color="#008000"]01[/color] 21471f[color="#FF0000"]01[/color] |||||||+- [color="#8000FF"]Sequence[/color] ||||||+-- [color="#8000FF"]Default Association[/color] |||||+--- [color="#0000FF"]Misc[/color] ||||+---- [color="#0000FF"]Color[/color] |||+----- [color="#008000"]Connection Type[/color] ||+------ [color="#008000"]Default Device[/color] |+------- [color="#FF0000"]Location[/color] +-------- [color="#FF0000"]Port Connectivity[/color] More detailed example http://olarila.com/forum/viewtopic.php?f=18&t=604 Info about codec verbs Source: http://www.projectosx.com/forum/index.php?showtopic=465 For each input/output there is a sequence of 4 verbs. Jack Color Description Node PinDefault Original Verbs -------------------------------------------------------------------------------------------------------- 1/8 Green Line Out at Ext Rear 20 0x14 0x01014410 21471c10 21471d44 21471e01 21471f01 Its about NodeID(NID) 0x14 in hex, 20 in decimal. The default verbs for it: 21471c10 21471d44 21471e01 21471f01 CAd (Codec Adress) NID (NodeID) Verb Command Verb Data 71cXY X=Default Association Y=Sequence Default Association and Sequence are used together by software to group Pin Complexes (and therefore jacks) together into functional blocks to support multichannel operation. Software may assume that all jacks with the same association number are intended to be grouped together, for instance to provide six channel analog output. The Default Association can also be used by software to prioritize resource allocation in constrained situations. Lower Default Association values would be higher in priority for resources such as processing nodes or Input and Output Converters. Note that this is the default association only, and software can override this value if required, in particular if the user provides additional information about the particular system configuration. A value of 0000b is reserved and should not be used. Software may interpret this value to indicate that the Pin Configuration data has not been properly initialized. A value of 1111b is a special value indicating that the Association has the lowest priority. Multiple different Pin Complexes may share this value, and each is intended to be exposed as independent devices. Sequence indicates the order of the jacks in the association group. The lowest numbered jack in the association group should be assigned the lowest numbered channels in the stream, etc. The numbers need not be sequential within the group, only the order matters. Sequence numbers within a set of Default Associations must be unique. *My notes for this, if you look on the vanilla codec verb(no matter what codec) you will see that Sequence is always 0. Why that, and why for us on our codec verbs is different? Simple b/c Apple dosen't have multichannel analog out! so you must change it to 0. *About Default Association, Keep the default one, in order, and on those that are the same replace them with new one that dosen't exist already in the dump... the values you can use are: 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d and f.(see what does verbit if you still don't understand) 71dXY X=Color Y=Misc Color indicates the color of the physical jack for use by software. Unknown 0 Black 1 Grey 2 Blue 3 Green 4 Red 5 Orange 6 Yellow 7 Purple 8 Pink 9 Reserved A-D White E Other F Misc is a bit field used to indicate other information about the jack. Currently, only bit 0 is defined. If bit 0 is set, it indicates that the jack has no presence detect capability, so even if a Pin Complex indicates that the codec hardware supports the presence detect functionality on the jack, the external circuitry is not capable of supporting the functionality. Reserved 3 Reserved 2 Reserved 1 Jack Detect Override 0 *Use 0 for Jack Detect - External Device(e.g. Headphones Mic etc) Use 1 for Jack Detect Disabled - Internal Device(e.g. Internal speakers, Internal mic) 71eXY X=Default Device Y=Connection Type Default Device indicates the intended use of the jack or device. This can indicate either the label on the jack or the device that is hardwired to the port, as with integrated speakers and the like. Line Out 0 Speaker 1 HP Out 2 CD 3 SPDIF Out 4 Digital Other Out 5 Modem Line Side 6 Modem Handset Side 7 Line In 8 AUX 9 Mic In A Telephony B SPDIF In C Digital Other In D Reserved E Other F Connection Type indicates the type of physical connection, such as a 1/8-inch stereo jack or an optical digital connector, etc. Software can use this information to provide helpful user interface descriptions to the user or to modify reported codec capabilities based on the capabilities of the physical transport external to the codec. Unknown 0 1/8" stereo/mono 1 1/4" stereo/mono 2 ATAPI internal 3 RCA 4 Optical 5 Other Digital 6 Other Analog 7 Multichannel Analog (DIN) 8 XLR/Professional 9 RJ-11 (Modem) A Combination B Other F 71fXY X=Port Connectivity Y=Location Port Connectivity indicates the external connectivity of the Pin Complex. Software can use this value to know what Pin Complexes are connected to jacks, internal devices, or not connected at all. 00b - The Port Complex is connected to a jack (1/8", ATAPI, etc.). 01b - No physical connection for Port. 10b - A fixed function device (integrated speaker, integrated mic, etc.) is attached. 11b - Both a jack and an internal device are attached. The Information provided in all other fields refers to the integrated device. The PD pin will reflect the status of the jack; the user will need to be queried to figure out what it is. Location indicates the physical location of the jack or device to which the pin complex is connected. This allows software to indicate, for instance, that the device is the “Front Panel Headphone Jack” as opposed to rear panel connections. *Details: Convert the 2 digit hex number to binary. Pad the front with zero's to make it 8 dgits. Example: 0x02 = binary 10 = 00000010 8 digit binary Reading the bits from left to right: Port Connectivity bits 7:6 ----------------------------------------------------------- 00 - Port is connected to a Jack 01 - No External Port -or- No physical connection for Port 10 - Fixed Function/Built In Device (integrated speaker, mic, etc) 11 - Jack and Internal device are attached Location Part 1 - bits 5:4 ----------------------------------------------------------- 00 - External on primary chassis 01 - Internal 10 - Separate chassis 11 - Other Location Part 2 - bits 3:0 ----------------------------------------------------------- The meaning depends on Location Part 1 00 0000 N/A 00 0001 Rear 00 0010 Front 00 0011 Left 00 0100 Right 00 0101 Top 00 0110 Bottom 00 0111 Special (Rear panel) 00 1000 Special (Drive bay) 01 0000 N/A 01 0111 Special (Riser) 01 1000 HDMI 01 1001 ATAPI 10 0000 N/A 10 0001 Rear 10 0010 Front 10 0011 Left 10 0100 Right 10 0101 Top 10 0110 Bottom 11 0000 N/A 11 0110 ? 11 0111 Inside Mobile Lid (example: mic) 11 1000 Outside Mobile Lid Bits Hex 76 54 3210 ------------------- 71f01 = 00 00 0001 - Port has a jack - It is External - Rear Location 71f02 = 00 00 0010 - Port has a jack - It is External - Front Panel Location 71f59 = 01 01 1001 - No External Port - ATAPI 71f18 = 00 01 1000 - Port has a jack - External - HDMI 71f90 = 10 01 0000 - Built In Device - Internal - N/A | | |||| | | |--------- Location part 2 | |------------ Location part 1 |--------------- Port Connectivity
  15. Patches work after 10.12.1 update.
  16. I will test after a system update. I think it's good enough if it works after system update and fresh install, no problem running the installer with vesa graphics.
  17. I tried from USB stick with the 5 patches, can't boot without nv_disable=1 (black screen) Asus G73SW laptop with GeForce GTX 460M
  18. Is it expected to work on the installer? Tested with Sierra installer and still get black screen without nv_disable=1. Couldn't test on fresh install yet.
  19. Thanks! Tested and working under Sierra and Yosemite.
  20. oldnapalm

    Clover General discussion

    Hello guys, from https://clover-wiki.zetam.org/Configuration/Devices#FakeID Does this mean the SATA FakeID will only work if FixSATA_0400 is set? Thanks.
  21. I used these properties to activate nVidia GeForce GTX 460M up to El Capitan <?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>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key> <dict> <key>@0,AAPL,boot-display</key> <string>0x00000001</string> <key>@0,EDID</key> <data> AP///////wANryYXAAAAAAIVAQOAJhV4CtiVo1VNnScPUFQAAAABAQEBAQEB AQEBAQEBAQEBLjaAoHA4H0AwIDUAftcQAAAYAAAA/gBOMTczSEdFLUwyMQog AAAA/gBDTU8KICAgICAgICAgAAAA/gBOMTczSEdFLUwyMQogAGY= </data> <key>@0,NVDA,UnderscanMin</key> <string>0x00000052</string> <key>@0,backlight-control</key> <string>0x00000001</string> <key>@0,built-in</key> <string>0x01</string> <key>@0,compatible</key> <string>NVDA,NVMac</string> <key>@0,connector-type</key> <string>0x00000800</string> <key>@0,device_type</key> <string>display</string> <key>@0,display-cfg</key> <string>0x00030103</string> <key>@0,fboffset</key> <string>0x00030000</string> <key>@0,name</key> <string>NVDA,Display-A</string> <key>@0,pwm-info</key> <data> AhgAZJBZAgAIUgAApRwAAAAEAAABAAAA </data> <key>@0,use-backlight-blanking</key> <string></string> <key>@1,NVDA,UnderscanMin</key> <string>0x00000052</string> <key>@1,can-hot-plug</key> <string></string> <key>@1,compatible</key> <string>NVDA,NVMac</string> <key>@1,connector-type</key> <string>0x00000800</string> <key>@1,device_type</key> <string>display</string> <key>@1,display-cfg</key> <string>0x0100ffff</string> <key>@1,name</key> <string>NVDA,Display-B</string> <key>@2,connector-type</key> <string>0x00000800</string> <key>@3,connector-type</key> <string>0x00000800</string> <key>AAPL00,DataJustify</key> <string>0x00000001</string> <key>AAPL00,Dither</key> <string>0x00000000</string> <key>AAPL00,DualLink</key> <string>0x00000001</string> <key>AAPL00,InverterFrequency</key> <string>0x00000000</string> <key>AAPL00,LinkFormat</key> <string>0x00000000</string> <key>AAPL00,LinkType</key> <string>0x00000000</string> <key>AAPL00,PixelFormat</key> <string>0x00000000</string> <key>AAPL00,T1</key> <string>0x00000000</string> <key>AAPL00,T2</key> <string>0x00000001</string> <key>AAPL00,T3</key> <string>0x000000c8</string> <key>AAPL00,T4</key> <string>0x000000c8</string> <key>AAPL00,T5</key> <string>0x00000001</string> <key>AAPL00,T6</key> <string>0x00000000</string> <key>AAPL00,T7</key> <string>0x00000190</string> <key>NVCAP</key> <data> BAAAAAAAAQD+AAAAAAAABwAAAAA= </data> <key>NVDA,Features</key> <string>0x000c16ff</string> <key>NVDA,invalid-config</key> <string>0x00000000</string> <key>VRAM,memvendorID</key> <string>0x0006</string> <key>VRAM,totalsize</key> <string>0x60000000</string> <key>built-in</key> <string>0x00</string> <key>device_type</key> <string>NVDA,Parent</string> <key>graphics-options</key> <string>0x0000000c</string> <key>hda-gfx</key> <string>onboard-1</string> <key>model</key> <string>Asus GeForce GTX 460M</string> </dict> </dict> </plist> Now with Sierra I get KP related to NVDAStartup.kext using this injection. Using Clover default settings it works fine (needs edit in AppleGraphicsDevicePolicy.kext as before to avoid getting stuck in black screen).
  22. Layout de teclado Brasileiro ABNT2 Download: Brasileiro_ABNT2.bundle.zip Para instalar basta copiar o bundle para Pasta Pessoal/Biblioteca/Keyboard Layouts ou para /Biblioteca/Keyboard Layouts (na raiz do sistema) para que fique disponível a todos os usuários. Para selecionar o layout, finalize a sessão do usuário, inicie novamente e entre em Preferências do Sistema, Idioma e Texto, Leiautes de Teclado. Este layout serve para desktop e laptop. Créditos pela confecção do layout: Lailson Bandeira http://github.com/lailsonbm/ABNT2-Layout#readme Nota: Para usuários dos seguintes OS X 10.9 e mais novos, não é mais necessário usar este método. Por padrão este layout foi introduzido pela Apple.
  23. oldnapalm

    Atualização 10.6.6

    http://support.apple.com/kb/DL1343 (143,59 MB) Combo: http://support.apple.com/kb/DL1349 (1,06 GB) Kernel atualizado AppleHDA não foi atualizada, continua a versão 1.9.9f12 do 10.6.5. Se você estiver atualizando de versão anterior à 10.6.5, leia sobre a AppleHDA nesse tópico http://www.insanelymac.com/forum/index.php?showtopic=236744 Kernel legacy http://blog.nawcom.com/?p=538 Antes de atualizar, siga as recomendações do tópico sobre o update 10.6.5 http://www.insanelymac.com/forum/index.php?showtopic=236744
  24. oldnapalm

    Asus P5E DSDT fixes

    DSDT fixes for Asus P5E New: DSDT Auto-Patcher ASUS P5E Automated patches to be applied using this editor. This way you apply the patches in your original DSDT very easily, and avoid possible problems of using a pre-edited file. ASUS_P5E_patches.zip Audio: (needs AD1988bFix.kext) Add device HDEF after USB6 under PCI0 Device (HDEF) { Name (_ADR, 0x001B0000) Method (_DSM, 4, NotSerialized) { Store (Package (0x08) { "codec-id", Buffer (0x04) { 0x9B, 0x82, 0x43, 0x10 }, "layout-id", Buffer (0x04) { 0x0C, 0x00, 0x00, 0x00 }, "device-type", Buffer (0x17) { "Analog Devices AD1988B" }, "PinConfigurations", Buffer (0x24) { /* 0000 */ 0x30, 0x40, 0x21, 0x01, 0x10, 0x40, 0x11, 0x01, /* 0008 */ 0x40, 0x90, 0xA1, 0x01, 0x50, 0x30, 0x81, 0x01, /* 0010 */ 0x60, 0x10, 0x01, 0x01, 0x20, 0x90, 0xA0, 0x90, /* 0018 */ 0x80, 0xF1, 0x45, 0x01, 0x90, 0xF1, 0xC5, 0x01, /* 0020 */ 0x70, 0x60, 0x01, 0x01 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } and remove IRQs from devices PIC and TMR. IRQNoFlags () {2} IRQNoFlags () {0} IRQ from device RTC0 should have been removed by DSDT_Patcher (by fassl) and added to device HPET ("-newHPET" option). SpeedStep: (AppleIntelCPUPowerManagement.kext works, no need for NullCPUPowerManagement.kext) Add C-states from MacPro3,1 and set SMproductname as MacPro3,1 in /Extra/smbios.plist. Scope (_PR) { Processor (CPU1, 0x01, 0x00000810, 0x06) { ... Method (_CST, 0, NotSerialized) { If (LAnd (And (CFGD, 0x01000000), LNot (And (TYPE, 0x10 )))) { Return (Package (0x02) { One, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x00, // Bit Width 0x00, // Bit Offset 0x0000000000000000, // Address ,) }, One, 0x9D, 0x03E8 } }) } If (And (TYPE, 0x0300)) { If (And (CFGD, 0x20)) { Return (Package (0x03) { 0x02, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x01, // Bit Width 0x02, // Bit Offset 0x0000000000000000, // Address ,) }, One, One, 0x03E8 }, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x01, // Bit Width 0x02, // Bit Offset 0x0000000000000010, // Address ,) }, 0x02, One, 0x01F4 } }) } } If (And (CFGD, 0x20)) { Return (Package (0x03) { 0x02, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x01, // Bit Width 0x02, // Bit Offset 0x0000000000000000, // Address ,) }, One, One, 0x03E8 }, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, // Bit Width 0x00, // Bit Offset 0x000000000000000C, // Address ,) }, 0x02, One, 0x01F4 } }) } Return (Package (0x02) { One, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x01, // Bit Width 0x02, // Bit Offset 0x0000000000000000, // Address ,) }, One, One, 0x03E8 } }) } } } Scope (_PR) { Processor (CPU2, 0x02, 0x00000810, 0x06) { ... Method (_CST, 0, NotSerialized) { Return (^^CPU1._CST ()) } } } Scope (_PR) { Processor (CPU3, 0x03, 0x00000810, 0x06) { ... Method (_CST, 0, NotSerialized) { Return (^^CPU1._CST ()) } } } Scope (_PR) { Processor (CPU4, 0x04, 0x00000810, 0x06) { ... Method (_CST, 0, NotSerialized) { Return (^^CPU1._CST ()) } } } Sleep: Change ID of USB devices to fake ICH10-R. Device (USB0) { Name (_ADR, 0x001D0000) ... Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x34, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB1) { Name (_ADR, 0x001D0001) ... Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x35, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB2) { Name (_ADR, 0x001D0002) ... Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x36, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB4) { Name (_ADR, 0x001A0000) ... Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x37, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB5) { Name (_ADR, 0x001A0001) ... Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x38, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB6) { Name (_ADR, 0x001A0002) ... Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x39, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } AHCI SATA: (silver icons for internal HDs instead of orange ones) Change ID of SATA device to fake ESB2 AHCI. Device (SATA) { Name (_ADR, 0x001F0002) ... Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x81, 0x26, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Some fixes use method DTGP, add it to the main block, can be just after the first "{" or just before the last "}". Method (DTGP, 5, NotSerialized) { If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B })) { If (LEqual (Arg1, One)) { If (LEqual (Arg2, Zero)) { Store (Buffer (One) { 0x03 }, Arg4) Return (One) } If (LEqual (Arg2, One)) { Return (One) } } } Patched dsdt.aml with all fixes (BIOS 1201): 2 GB RAM dsdt.aml.zip 4 GB RAM dsdt.aml.zip If you have different RAM size you may have to edit OperationRegion values for RAMW, BIOS and STBL, check your original DSDT. Thanks to Stuntman for the info. Diff from file patched by DSDT_Patcher: dsdt.diff.zip Needed kexts: AD1988bFix.kext by XyZ - AD1988bFix.kext.zip For 10.6.8 - need edited AppleHDA fakesmc.kext by Netkas - http://netkas.org/?cat=15 LegacyAppleYukon2.kext by cVaD - LegacyAppleYukon2.kext.zip OpenHaltRestart.kext** by Psystar - OpenHaltRestart.kext.zip OSXRestart.kext*** by Master Chief - http://www.insanelymac.com/forum/index.php?showtopic=199048 PlatformUUID.kext* by Superhai - PlatformUUID.kext.zip * not needed if using Chameleon 2.0 RC4 or later. ** not needed if using this fix. *** not needed if using Chameleon 2.0 RC5 or later. Untested kexts: JMicronATA.kext - JMicronATA.kext.zip Settings to check in BIOS setup: Main - SATA Configuration - Configure SATA as - AHCI Advanced - CPU Configuration - C1E Support - Enabled Advanced - CPU Configuration - Execute Disable Bit - Enabled Advanced - CPU Configuration - Intel® SpeedStep™ Tech. - Enabled Power - ACPI 2.0 Support - Enabled Power - ACPI APIC Support - Enabled Power - APM Configuration - ACPI Wake From USB Device - Enabled References: Audio - http://www.infinitemac.com/f57/how-to-snow.../post30994.html SpeedStep - http://www.insanelymac.com/forum/index.php?showtopic=181631 Sleep and SATA - http://www.insanelymac.com/forum/index.php?showtopic=168014
  25. Atualizado: para laptops Haswell com problema de reboot logo no início do boot, use este patch no kernel Chameleon 10.10 10.9.x 10.8.5 Notas para o Clover - A kext AppleIntelCPUPowerManagement pode ter o patch aplicado apenas usando as opções "on-the-fly" do Clover. Abrar o seu config.plist e use essas opções: /KernelAndKextPatches/AsusAICPUPM=true - Poderá patchear o kernel para usar o modo XCPM (Haswell) pode ser configurado no config.plist: /KernelAndKextPatches/KernelPm=true - Poderá patchear o kernel, se tiver erros relacionados a "Local APIC" usando esta configuração no config.plist: /KernelAndKextPatches/KernelLapic=true - SSDTs geradas pelo script são inseridas em /EFI/CLOVER/ACPI/patched/SSDT.aml - Para usar as SSDTs originais do sistema, use essa configuração no config.plist: /ACPI/SSDT/DropOem=true - não use a kext NullCPUPowerManagement (Esta kext não é necessaria quando se usa a opção AsusAICPUPM=true) Fonte: https://racerrehabman.wordpress.com/2013/11/25/maverickshaswell-kernel-patch-for-early-reboot/ Credito de algumas informações: RehabMan Atualizado: o boot loader Clover gera SSDTs inclusive para CPUs Ivy Bridge <key>ACPI</key> <dict> <key>SSDT</key> <dict> <key>DropOem</key> <true/> <key>Generate</key> <dict> <key>CStates</key> <true/> <key>PStates</key> <true/> </dict> </dict> </dict> Atualizado: vários PCs (desktop e laptop) com chipset Sandy e Ivy Bridge precisam que a AppleIntelCPUPowerManagement seja modificada - Recomendação valida para usuários Chameleon http://olarila.com/f....php?f=9&t=1003 Para CPUs Sandy Bridge o GeneratePStates não está funcionando desde o update 10.7.4, você pode usar este script para gerar um SSDT.aml com os P e C states Procure pelas especificações do seu CPU em http://ark.intel.com/ Por exemplo Intel® Core™ i7-2600K Processor (8M Cache, up to 3.80 GHz) Max Turbo Frequency 3.8 GHz Max TDP 95 W sudo ./ssdtPRGen.sh 95 3800 open /tmp Abra o ssdt-pr.dsl com o DSDT Editor, compile e salve como SSDT.aml na pasta Extra. Ative a opção DropSSDT e desative GeneratePStates e GenerateCStates. O Chameleon pode gerar os P e C states automaticamente, basta ativar as opções <key>DropSSDT</key> <string>Yes</string> <key>GeneratePStates</key> <string>Yes</string> <key>GenerateCStates</key> <string>Yes</string> Para CPUs mais antigas como Core 2 Duo/Quad e 1º geração dos Intel Core i3/i5/i7, use assim: <key>DropSSDT</key> <string>False</string> <key>GeneratePStates</key> <string>Yes</string> <key>GenerateCStates</key> <string>Yes</string> Você ainda precisa ter certeza de que a kext AppleLPC está sendo carregada. Se não estiver, ajuste o device ID do LPC com um DSDT patch http://olarila.com/f...c.php?f=7&t=646 Qual SMBIOS usar para o seu hardware http://olarila.com/f....php?f=2&t=1302 A kext original responsável pelo gerenciamento de energia é a AppleIntelCPUPowerManagement, porém poucas placas mãe funcionam com essa kext sem nenhum ajuste, por isso os guias de instalação sugerem a utilização de alguma kext disabler, que desabilita a AppleIntelCPUPowerManagement para evitar kernel panic ou superaquecimento do processador. NullCPUPowerManagement.kext Desde o Leopard 10.5.8 o repouso (sleep) só funciona se a AppleIntelCPUPowerManagement estiver rodando, ao utilizar uma kext disabler o sleep deixa de funcionar. Para resolver o problema foi criada a kext SleepEnabler, que ativa a AppleIntelCPUPowerManagement quando o computador vai entrar em repouso. http://code.google.c.../downloads/list Aplicativo para monitorar temperatura, frequência e voltagem do processador: SMC Monitor Download: http://www.insanelym...99-smc-monitor/ Para que o aplicativo também mostre frequência e voltagem, você precisa utilizar essa nova versão da kext FakeSMC e o plugin IntelCPUMonitor. Também estão disponíveis plugins para monitoramento dos sensores da placa mãe e placa de vídeo. Instale apenas os plugins correspondentes ao seu hardware. http://www.projectos...p?showforum=165 O valor informado pelo CPU não é a temperatura real, mas sim quanto falta para chegar à temperatura em que ele iria se desligar (Tjmax). O Tjmax é calculado automaticamente, mas pode estar incorreto, fazendo com que a temperatura mostrada em graus Celsius também esteja errada. Neste caso você pode definir o valor manualmente, editando o arquivo Info.plist da kext IntelCPUMonitor e inserindo a chave TjMax <key>Intel CPU Monitor Plugin</key> <key>TjMax</key> <integer>100</integer> Como editar o Info.plist da kext http://www.insanelym...oplist-de-kext/
×