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 mcbyte_it

  • Rank
    InsanelyMac Protégé
  1. [HOW TO] Pin Config!

    Does this procedure work with Lion AppleHDA? I tried extracting the pin configuration for my 892, but it was not clear where to put them in the Lion AppleHDA.kext: the location where I found an Info.plist file needed this as a <data> section, but it doesn't work fine, the configuration changed to the worst, microphone still not working, but in addition I lost the auto switching for the headset.
  2. HDA Wizard - Simple tool for AppleHDA.kext

    I tried this procedure, now on my P8P67 Pro I stopped using the ALC892.kext, just the modified AppleHDA.kext (from 10.7.2) and the DSDT patch, audio playback is fine (with autoswitch between main desktop speakers and front panel headphones), but the microphone is not working at all, neither back nor front what am i doing wrong? what other patches do i need?
  3. I don't use NullCPUpowermanagement kext, and my computer sleeps and wake up very nicely, yet it doesn't wakeup with WOL, when I turn off the computer from Windows, it does wake up with wol, it's something to do with the driver, to put the adapter in the correct power mode... (i am a bit of a hacker, but not the kind that writes drivers, i'll try to compare your driver to the linux one and see if i can figure out the differences) Update: I downloaded the sources of the Intel opensource driver and hnak driver, compared, the main driver class is different. I tried putting some comments in all down/up/wake/wol functions, and compiled a kext. From the log, if what it says is true, the computer gets shutdown before the ethernet card finished it's shutdown procedure. You can check the attached file, i highlighted my comments. Some stuff that can be good is that when I issue the sleep command, the card gets a call AppleIntelE1000e::setWakeOnMagicPacket(TRUE), WOL support = YES, when it wakes it the call becomes AppleIntelE1000e::setWakeOnMagicPacket(FALSE), WOL support = YES, but it doesn't work. lnx2mac driver can be helpful, because it supports WOL, but the sources are not yet published e1000_ethernet_debug.rtf
  4. [Consiglio] Acquisto hardware per Lion

    Hai finito il tuo build? ti funziona la scheda video? Io ho preso una Sapphire 6450 (uguale al tua ma sapphire) e non va con Mac Lion: Se ability GraphicsEnabler ho solo schermata nera sul VGA e DVI.
  5. I replaced my 4670 with a 6450 (Sapphire, 1GB model, 0x67791002), it is detected correctly by Chameleon, but when Mac Lion starts I get black screen on both DVI & VGA output, without GraphicsEnabler it works on both..
  6. In the bios i did not set anything related to the cpu, all on stock settings. Well, all if not most dsdt patches have a couple of modifications that fixes sleep, I don't really know if patching the BIOS alone helps the Sleep, but I always went with DSDT. I've attached my dsdt, but it is for my P8P67 Pro Rev3.0 (based on Bios 2001 beta), give it a try. DSDT.aml.zip
  7. @all Having seen others get successful BIOS patching, and having checked what does the BIOS patch really change, I went ahead and did it too..... ANDY .... YOU MUST GIVE ME A NEW MOTHERBOARD.... (just kidding)... It all went OK, I am running Mac with no nullCPUPowerManagement or the SpeedStepped patches. And just as before, Sleep & Wakeup are working just fine. --- Update: I even went a step ahead in BIOS modification, and changed the bios Full-Screen boot image to an apple inspired screen: --- In addition to the patch, I am still using the DSDT I extracted and patched for my mobo, which fixes the audio without the need for HDAEnabler, and the PowerButton that brings up a dialog to select what operation to do (PWRB). so 2 less kexts for now @peebee01 I checked the reached PStates with MSRDumper, but I still get only 16 and 37, nothing in between, both with GeneratePStates = Yes and No (And it seems the Turbo bosst is on too, because the i5 2500k has max 3.3Ghz, and when the boost is active it reaches 3.7Ghz) What else do you have to get the other? what system smbios are you using? I have mine set to 12,2? Are you using SSDT for the processor?
  8. Just to be on the safe side (and for curiosity), I de-compiled the modified bios modules and checked their assembly code, and the changes are very little: Before the patch it changes the value of the 15th bit of accumulator eax to 1, which seem to be the lock method, after the patch this value remains as it is. loc_FFFF0953: movzx eax, al or eax, 6000400h cmp [ebp+var_1], bl jz short loc_FFFF096D cmp [ebp+var_2], 4 jbe short loc_FFFF0972 or eax, 18008000h ; <---- after the patch this becomes 18000000h jmp short loc_FFFF0972 loc_FFFF096D: or eax, 8000h ; <---- after the patch this becomes 0 loc_FFFF0972: push 0FFFFFFFFh push 0FFFFFFF8h push ebx push eax push esi call sub_FFFF195C add esp, 14h test byte ptr [ebp+var_8+2], 0Fh pop esi pop ebx jz short loc_FFFF098D mov al, 2 jmp short loc_FFFF0994
  9. Ok, then I'll do it too... I prepared the patched bios file and will be flashing it tonight (Just for confirmation, this will not break Windows 7?) I read somewhere that it might be the video or audio card interfering with the sleep? Yesterday I did some testing, and my sleep still works and perfectly: when I press the power button (or select sleep from the menu), the PC will go to a deep sleep state in less than a second !!!!! while waking up and going directly to the mac desktop takes up to 3 seconds, way faster than Windows
  10. And what about before the BIOS patch? with everything clean, with nullcpupowermanagement I get just one p-state, 33, default for my 2500k. While with the sleepstepper patch, i get 16 and 33, nothing in between. If patching the bios gives the rest then i'll go for it What you describe is the main sleep problem: without binary patches, and only nullcpupowermanagment.kext, putting my computer to sleep will turn monitor off, harddisks stop spinning, but fans stay on (cpu and case). and in no way I can let it wakeup, only solution is to turn off then back on. But when I used Sleepstepper patch (without nullcpupowermanagement.kext or sleepenabler.kext), it fixes it: putting to sleep will make everything turn off (harddisks/fans/lights/all), only the power led keeps blinking, and pressing any key will wake the computer up, nearly instantly, with everything working.....
  11. I've also tried SpeedStepper, and in my case sleep does work fine (and with it I eliminated nullcpupowermanagement), Andy's BIOS patch will eliminate the need for speedstepper, but for now i'll stick with the software patch, later when I have time (in case I need to recover bios or change mobo) i'll try the BIOS patch (I already made a new BIOS file, but will not load it now). for the ethernet, shouldn't the P8P67 Pro Rev 3.1 contain the same as the normal Rev 3.0 which is the Intel E1000? it is working just fine for me, there is a kext for that since long time, and it is provided in the package of Andy and [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url].....
  12. What modifications did you make for the BIOS? I like to mess with BIOSes and Firmwares too Maybe we can also include a modified DSDT table directly into the BIOS (Surely can be done, we got it from there..), and then the Hackintosh will become so 100% Vanilla, sort off (as we still need drivers for lan, audio and bluetooth).
  13. I have been trying to understand how to edit personalities, and wished there was an easy way to do the modification instead of comments and formulas to follow, so being good at web programming, I made an HTML form (with javascript) to make editing a personality easier: But it still need many things to do, mainly because I was unable to understand what some values meant or how they are divided into sub values (especially those that divide the bite into two groups or 4 bits), so I present what I did till now hoping somebody can help me with continuing the job (and in this way I understand the rest of the values)... STILL, WORK IN PROGRESS ati_personality.htm
  14. Editing custom personalities for ATI Radeon HD[45]xx

    I started working to fix my video output: I have a Sapphire Radeon 4670 Ultimate (Passive cooling, 3 ports: VGA/DVI/HDMI), and I want to use the DVI output to my 23" monitor Using Chimera 1.5.4 bootloader, with Mac OS X 10.7.2 With GraphicsEnabler=No, both DVI and VGA works good, but DVD player and geek bench crashes. With GraphicsEnabler=Yes, VGA works good while DVI is black, and everything seems to work Earlier when I used to use Chalemeon 2.0 RC5, DVI used to give a signal, but the picture was like 256 colors, maybe wrong decoder/FB here is the BIOS dump with radeon dump: ATOM BIOS Rom: SubsystemVendorID: 0x174b SubsystemID: 0xe100 IOBaseAddress: 0x0000 Filename: BE1007SA.S13 BIOS Bootup Message: RV730 GDDR3 SAMSUNG 128B 750E/873M DVII+HDMI+VGA PCI ID: 1002:9490 Connector at index 0 Type [@offset 44434]: VGA (1) Encoder [@offset 44438]: INTERNAL_KLDSCP_DAC2 (0x16) i2cid [@offset 44506]: 0x93, OSX senseid: 0x4 Connector at index 1 Type [@offset 44444]: HDMI-A (11) Encoder [@offset 44448]: INTERNAL_UNIPHY1 (0x20) i2cid [@offset 44529]: 0x94, OSX senseid: 0x5 Connector at index 2 Type [@offset 44454]: DVI-I (2) Encoder [@offset 44458]: INTERNAL_KLDSCP_DAC1 (0x15) i2cid [@offset 44558]: 0x90, OSX senseid: 0x1 Connector at index 3 Type [@offset 44464]: DVI-I (2) Encoder [@offset 44468]: INTERNAL_UNIPHY (0x1e) i2cid [@offset 44558]: 0x90, OSX senseid: 0x1 and here is the outout or redsock_bios_decoder BE1007SA.S13: RV730 GDDR3 SAMSUNG 128B 750E/873M DVII+HDMI+VGA Subsystem Vendor ID: 174b Subsystem ID: e100 Object Header Structure Size: 235 Connector Object Table Offset: 3c Router Object Table Offset: 0 Encoder Object Table Offset: af Display Path Table Offset: 10 Connector Object Id [5] which is [VGA] encoder obj id [0x16] which is [iNTERNAL_KLDSCP_DAC2] linkb: false Connector Object Id [12] which is [HDMI_TYPE_A] encoder obj id [0x20] which is [iNTERNAL_UNIPHY1 (osx txmit 0x21 [duallink 0x1] enc 0x3)] linkb: true Connector Object Id [2] which is [DVI_I] encoder obj id [0x15] which is [iNTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false Connector Object Id [2] which is [DVI_I] encoder obj id [0x1e] which is [iNTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false Here is the dump of the ati_personalities_0.7: Kext ATI4600Controller Personality: Flicker ConnectorInfo count in decimal: 3 Disk offset in decimal 474728 0000000 00 04 00 00 - 00 04 00 00 - 00 01 - 00 00 - 02 01 03 05 0000010 00 04 00 00 - 00 04 00 00 - 00 01 - 00 00 - 01 00 02 02 0000020 00 02 00 00 - 14 02 00 00 - 00 01 - 00 00 - 00 10 01 04 0000030 and attached to this post are the screenshots of ioregistry. Currently my monitor is connected with both cables (VGA+DVI) but I am using the VGA input on the screen (as the DVI is blank), technically I am connected to port #0 (from the BIOS Dump), which should be at index '00000000', which has ConnectorType set as DP and ControlFlags set as DP, which are both completely wrong in my case (VGA connector), but for some reason it is giving a signal to my screen. So, if I want to fix my DVI, I should fix line number 3 (which from the BIOS is one with the DVI ports, knowing that the radeon bios declares 4 outputs, while the KEXT driver has only 3 personalities). I should fix the FrameBuffers in the ATI4600Controller.kext by hex editing the above values to some better ones, but I don't know exactly where to change. Currently port #2 (counting from zero) is already set to DVI ConnectorType, but the single-link one (as there is a dual link one, 0x00000004), the ControlFlag seem ok too for DVI (0x0214). this might be also confirmed by the IORegistry screen, the ATI,ActiveFlags=0x10 (Which is != 0x1, according to page 1 of this thread), maybe the features/transmitter/encoder/senseID are wrong? As I read, the SenseID is the most important, but how to calculate it, I didn't really understand the formula, and when you say bits 0-3: are they from the left or the right? i2cid = (senseid & 0xf-1) + 0x90 senseid = (i2cid & 0xf) + 1 Currently senseID is set to 0x04 0x04 = 0000 0100 from the BIOS Dump SenseID = 0x1 = 0000 0001 i2cid = 0x90 = 1001 0000 What to do next? Update 1: I tried updating the port #2 to: 0000020 04 00 00 00 - 14 02 00 00 - 00 01 - 00 00 - 00 10 01 05 but now the VGA is detected with the wrong resolution, maybe the 3rd row in result of ati_personalities is in reality port #0 of the card, and that's why IORegistryView shows it is @0?
  15. I don't think you can brick the mobo, there is the self recovery mode. You are trying to fix the MSR locking? that will be great