Jump to content


  • Content count

  • Joined

  • Last visited

About csharpmac

  • Rank
    InsanelyMac Protégé
  1. Slow Hard Drive Performance ICH10

    John as we have discussed: a. Search and Replace SBRG with LPCB Will need to add dev id to AppleLPC.kext <string>pci10de,aac</string> This Device (SBRG) in our new DSDT, renamed and with the device-id patching code in place. Rename all instances of SBRG to LPCB using search and replace. This makes the LPC device appear correctly in the PCI device tree - as LPCB@1F under PCI0@0. b. LPC Devices i. Search and Replace DMAD with DMAC ii. Search and Replace RTC0 with RTC iii. Search and Replace OMSC with LDRC iv. Search and Replace COPR with MATH v. Search and Replace (PIC) with (IPIC) vi. Search and Replace TMR with TIMR c. i. Search and Replace USB0 with OHC1 ii. Search and Replace US15 with OHC2 iii. Search and Replace USB2 with EHC1 iv. Search and Replace US12 with EHC2 d. Search and Replace SMB0 with SBUS e. Search and Replace TRM0 with TRIM
  2. Slow Hard Drive Performance ICH10

    Try this: [csharpmac1.aml.zip] Should work best on vanilla kernel and kexts [Extra.zip] CsharpMac
  3. Slow Hard Drive Performance ICH10

    Hi, I have just created a fast DSDT for your motherboard. [csharpmac.aml.zip]Test it and inform me about your DVD speed. CSharpMac
  4. Slow Hard Drive Performance ICH10

    THE STEPS First, you would need to copy the iasl tool to your /usr/bin directory so it can be run from anywhere. IASL is Intels AML Compiler/decompiler. It is extremely strict on the rules of ACPI Specification, which is why I like to use it for OSX86. Unzip iasl.zip and copy it as follows: $ cp iasl /usr/bin/ Operating-systems use tables to get information about hardware. A little light reading ACPI specs Vendor specific ACPI specs DSDT stands for Differentiated System Description Table. It is a part of the ACPI specification and it supplies configuration information about a base system. The DSDT comprises a system description table header, followed by a definition block. The definition block is encoded using ACPI Machine Language (AML), and unlike other definition blocks on the system, the DSDT definition block can not be unloaded, as it provides the basic ACPI namespace scope that all other dynamic definition blocks can later add onto. For the file named dsdt.aml, you would need to decompile it to get it in a readable form. Since you moved iasl to /usr/bin, you can run it from anywhere. Type this code to get the DSDT.dsl file : $ ./iasl -d dsdt.aml Intel ACPI Component Architecture AML Disassembler version 20090730 [Aug 12 2009] Copyright © 2000 - 2009 Intel Corporation Supports ACPI Specification Revision 4.0 Loading Acpi table from file dsdt.aml Acpi table [DSDT] successfully installed and loaded Pass 1 parse of [DSDT] Pass 2 parse of [DSDT] Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions) ................................................................................ ............................................................................. Parsing completed Disassembly completed, written to "dsdt.dsl" Now you should have a readable file that you can edit using any good editor named dsdt.dsl. Also, I highly recommend you to download TextWrangler for this job. TextWrangler is fully featured and functional — it will not expire. Right click on the original file and open with TextWrangler Quick key "command+J" and enter the line you want and click "Go To" Note the bracket structure. Follow the if's all the way down... For example: Method (WQAA, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Store (T2D0, Local0) Return (Local0) } If (LEqual (Arg0, One)) { Store (T2D1, Local0) Return (Local0) } snip..... ......snap If (LEqual (Arg0, 0x21)) { Store (TDBB, Local0) Return (Local0) } } Method (WQAB, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Store (TD2E, Local1) Return (Local1) In this example there is a need to place return before that closing bracket. The resulting structure is Store (TDBB, Local0) Return (Local0) } Return (Zero) } Method (WQAB, 1, NotSerialized) { If (LEqual (Arg0, Zero)) { Store (TD2E, Local1) Return (Local1) Got it? Good. Remember your start line will shift as you add lines but your in the ballpark and the Method is named in the error if you get confused. Finally, after all your edits, go to the command-prompt console, run the command to make your new fixed dsdt.aml : $ ./iasl -sa dsdt.dsl After you master the above method, you can then use the iASLMe20090730 updated application [iASLMe20090730.app.zip] to easily compile and decompile your edits: i.e from dsdt.dsl ----> dsdt.aml or dsdt.aml ----> dsdt.dsl. To use successfully this application, you would need to actually drop your dsdt file with valid extention (*.dsl; *.aml) on the application icon. It will be Compiled/DeCompiled and placed near your input file. An other application editor that should be also noted is the DSDTSE editor. CSharpMac
  5. Slow Hard Drive Performance ICH10

    Thanks csharpmac try this IRQ (Level, ActiveLow, Shared, ) settings out ! You are welcome! :-) So now i show my investigation of Gigabyte EP35-DS3 DSDT csharpmac change (+9),... already there in orig. DSDT Note that the Gigabyte EP35-DS3 has Intel P35+ICH9 chipset, and the Asus Rampage II has Intel X58+ICH10 chipset. The "original" factory BIOS of my Asus Rampage II (X58+ICH10) had this values {3,4,6,7,10,11,12,14,15} and the real Mac4,1 IDSDT has {3,4,5,6,7,9,10,11,12,14,15}. In my Asus Rampage II I it makes no difference if I keep the "original" values or apply the Mac4,1 ones. My system runs 10.6.1 perfectly with either. Now if you want to go further, I am presenting below some initial modifications on the DSDT in order to improve the surround sound of my Soundcard. These DSDT modifications are based on Solar (thanks!) Device (HDEF) { Name (_ADR, 0x001B0000) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0D, 0x05 }) } Method (_DSM, 4, NotSerialized) { Store (Package (0x08) { "codec-id", Buffer (0x04) { 0x89, 0x08, 0xEC, 0x10 }, "layout-id", Buffer (0x04) { 0x0C, 0x00, 0x00, 0x00 }, "device-type", Buffer (0x11) { "CreativeSound" }, "PinConfigurations", Buffer (0x28) { /* 0000 */ 0x50, 0x70, 0x21, 0x01, 0x40, 0x01, 0x13, 0x90, /* 0008 */ 0x20, 0x30, 0x81, 0x01, 0x41, 0x40, 0x01, 0x01, /* 0010 */ 0x30, 0xE0, 0xC5, 0x01, 0x60, 0xE0, 0x45, 0x01, /* 0018 */ 0x0F, 0x00, 0x00, 0x40, 0x0F, 0x00, 0x00, 0x40, /* 0020 */ 0x10, 0x01, 0xA0, 0x90, 0x11, 0x01, 0xA0, 0x90 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,6,7,9,10,11,12,14,15} }) Name (BUFB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (BUFB, One, IRQV) Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, One) Method (_STA, 0, NotSerialized) { And (PIRA, 0x80, Local0) If (LEqual (Local0, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Or (PIRA, 0x80, PIRA) } Method (_CRS, 0, NotSerialized) { And (PIRA, 0x0F, Local0) ShiftLeft (One, Local0, IRQV) Return (BUFB) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQ1) FindSetRightBit (IRQ1, Local0) Decrement (Local0) Store (Local0, PIRA) } }
  6. Slow Hard Drive Performance ICH10

    First, I do believe that we just need to be polite in here. This is our forum for the Hard Drive Performance Issues. KiNG as you know, in the beginning you have said that the Hard Drive Performance Issues were not DSDT related (please go and see your post: Post # 78 KiNG: After another tons of tests I got to a conclusion, IMHO is not a DSDT bug but a BIOS one.), and while I politely insisted that it is definitely DSDT related (and we all know that it is the DSDT !) you had insulted me and others who tried to help back then as you are doing now. That is really nice attitude. Second, I did test this configuration and compared it also with the MacPro4,1 DSDT and I have now added the additional IRQs. IRQ (Level, ActiveLow, Shared, ) {3,4,5,6,7,9,10,11,12,14,15} Thanks?
  7. Slow Hard Drive Performance ICH10

    I have already tested the following configurations for IRQ (Level, ActiveLow, Shared, ) on my ASUS Rampage II Extreme X58 DSDT with the DSDT of my real Mac. The procedure that I propose is as follows: (i) Find on your DSDT the following: Name (PRSA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,6,7,10,11,12,14,15} }) Name (PRSB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5} }) and replace it with: Name (PRSA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,6,7,9,10,11,12,14,15} }) Name (PRSB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) (ii) Then find: Scope (_SB) { Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {15} }) and replace it with: Scope (_SB) { Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,6,7,9,10,11,12,14,15} }) That would do the trick. CSharpMac
  8. Slow Hard Drive Performance ICH10

    Yes I do know what you did! I am actually on the new DSDT now! I have said that the SOLUTION is on finding the correct values on the DSDT. I did the first part on the HPET... knew that we had to do more work on the DSDT! Thanks for your excellent work!
  9. Slow Hard Drive Performance ICH10

    I have said it already! Look at the DSDT!
  10. Slow Hard Drive Performance ICH10

    SATA controller under 10.5.8 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. Device 82d4 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 20 Region 0: I/O ports at 9c00 Region 1: I/O ports at 9880 Region 2: I/O ports at 9800 Region 3: I/O ports at 9480 Region 4: I/O ports at 9400 Region 5: Memory at f7ffc000 (32-bit, non-prefetchable) Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=4/4 Enable- Address: fee00000 Data: 4090 Capabilities: [70] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a8] SATA HBA <?> Capabilities: [b0] PCIe advanced features <?>
  11. Slow Hard Drive Performance ICH10

    You will need to add this part on your DSDT Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (CRS, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length _Y0F) }) -------- Method (_STA, 0, NotSerialized) { If (LEqual (OSFL (), 0x07D1)) --------
  12. Slow Hard Drive Performance ICH10

    I agree with you. To check the stability of the system without the AppleHPET.kext click on Activity Monitor.app and then press Window then Activity Monitor and then Show All Processes, You can see that [kernel_task(0):100% CPU] The AppleHPET.kext is definitely required for a stable system with proper power management.
  13. Slow Hard Drive Performance ICH10

    MacOSXUpd10.6.1.dmg Mac OS X v10.6.1 Update Includes general operating system fixes that enhance the stability, compatibility, and security, including fixes for: compatibility with some Sierra Wireless 3G modems an issue that might cause DVD playback to stop unexpectedly some printer compatibility drivers not appearing properly in the add printer browser an issue that might make it difficult to remove an item from the Dock instances where automatic account setup in Mail might not work an issue where pressing cmd-opt-t in Mail brings up the special characters menu instead of moving a message Motion 4 becoming unresponsive
  14. Slow Hard Drive Performance ICH10

    For the slow SATA device Please do the following 1. install PCI_Tool 2. Restart as requested and then 3. Open terminal and type "lspci -nn" and post to me what it says PCI_Tool.zip
  15. Slow Hard Drive Performance ICH10

    Well here it is the improved Chameleon-2.0-RC3! Chameleon 2.0-RC3 with Snow Leopard and Large Disk support Chameleon_2.0_RC3_r658_bin.zip