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.

Oh the Huge Manatee

Members
  • Content count

    49
  • Joined

  • Last visited

About Oh the Huge Manatee

  • Rank
    InsanelyMac Protégé
  1. Building a custom DSDT for C700 (C776CA)

    Well I've fixed a lot of it. Took care of the error at least, now I'm trying to fix the warnings. All I have lft is Intel ACPI Component Architecture ASL Optimizing Compiler version 20091112 [Nov 13 2009] Copyright (C) 2000 - 2009 Intel Corporation Supports ACPI Specification Revision 4.0 /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7342: Method (_GTF, 0, NotSerialized) Warning 1081 - Reserved method must return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7405: Method (_GTF, 0, NotSerialized) Warning 1088 - Not all control paths return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7405: Method (_GTF, 0, NotSerialized) Warning 1081 - Reserved method must return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7477: Method (_GTM, 0, NotSerialized) Warning 1088 - Not all control paths return a value ^ (_GTM) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7477: Method (_GTM, 0, NotSerialized) Warning 1081 - Reserved method must return a value ^ (_GTM) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7650: Method (_GTF, 0, NotSerialized) Warning 1088 - Not all control paths return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7650: Method (_GTF, 0, NotSerialized) Warning 1081 - Reserved method must return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7718: Method (_GTF, 0, NotSerialized) Warning 1088 - Not all control paths return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7718: Method (_GTF, 0, NotSerialized) Warning 1081 - Reserved method must return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7825: Method (_GTF, 0, NotSerialized) Warning 1088 - Not all control paths return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7825: Method (_GTF, 0, NotSerialized) Warning 1081 - Reserved method must return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7871: Method (_GTF, 0, NotSerialized) Warning 1088 - Not all control paths return a value ^ (_GTF) /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7871: Method (_GTF, 0, NotSerialized) Warning 1081 - Reserved method must return a value ^ (_GTF) ASL Input: /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 7885 lines, 301109 bytes, 3352 keywords AML Output: /Users/campbell/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/./dsdt.aml - 32813 bytes, 676 named objects, 2676 executable opcodes Compilation complete. 0 Errors, 13 Warnings, 0 Remarks, 36 Optimizations Seems like every time I get a "Reserved method must return a value" I also get a "Not all control paths return a value". I think these are redundant warnings.... but any help? dsdt.zip
  2. I have a C776 which is well supported by OSX, except for a few key details that are driving me crazy. Most important to me is sleep/wake... on wake, my fans stop working entirely, leading to a KP pretty quickly. Second, I'd like to be able to use native kexts for my audio device (right now I have custom kexts). Finally, the ability to use native kexts with my trackpad/keyboard would be nice (is that even possible with PS2 devices?). When I try to compile my DSDT, here are the warnings and errors I get: ./dsdt_fixed.txt 541: Method (FRSP, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (FRSP) ./dsdt_fixed.txt 1910: Name (_T_0, Zero) Remark 5110 - Use of compiler reserved name ^ (_T_0) ./dsdt_fixed.txt 2598: Method (_OSC, 5, NotSerialized) Warning 1076 - ^ Reserved method has too many arguments (_OSC requires 4) ./dsdt_fixed.txt 2609: CreateDWordField (BUF1, Local2, CAPB) Error 4111 - Creating a named object in a While loop ^ ./dsdt_fixed.txt 2614: And (CAPB, 0xFFFFFFFC) Warning 1105 - Result is not used, operator has no effect ^ ./dsdt_fixed.txt 7178: Method (_GTM, 0, NotSerialized) Warning 1087 - Not all control paths return a value ^ (_GTM) ./dsdt_fixed.txt 7178: Method (_GTM, 0, NotSerialized) Warning 1080 - Reserved method must return a value ^ (_GTM) ./dsdt_fixed.txt 7338: Method (_GTF, 0, NotSerialized) Warning 1087 - Not all control paths return a value ^ (_GTF) ./dsdt_fixed.txt 7338: Method (_GTF, 0, NotSerialized) Warning 1080 - Reserved method must return a value ^ (_GTF) ./dsdt_fixed.txt 7406: Method (_GTF, 0, NotSerialized) Warning 1087 - Not all control paths return a value ^ (_GTF) ./dsdt_fixed.txt 7406: Method (_GTF, 0, NotSerialized) Warning 1080 - Reserved method must return a value ^ (_GTF) ./dsdt_fixed.txt 7479: Method (_GTM, 0, NotSerialized) Warning 1087 - Not all control paths return a value ^ (_GTM) ./dsdt_fixed.txt 7479: Method (_GTM, 0, NotSerialized) Warning 1080 - Reserved method must return a value ^ (_GTM) ./dsdt_fixed.txt 7652: Method (_GTF, 0, NotSerialized) Warning 1087 - Not all control paths return a value ^ (_GTF) ./dsdt_fixed.txt 7652: Method (_GTF, 0, NotSerialized) Warning 1080 - Reserved method must return a value ^ (_GTF) ./dsdt_fixed.txt 7720: Method (_GTF, 0, NotSerialized) Warning 1087 - Not all control paths return a value ^ (_GTF) ./dsdt_fixed.txt 7720: Method (_GTF, 0, NotSerialized) Warning 1080 - Reserved method must return a value ^ (_GTF) ./dsdt_fixed.txt 7827: Method (_GTF, 0, NotSerialized) Warning 1087 - Not all control paths return a value ^ (_GTF) ./dsdt_fixed.txt 7827: Method (_GTF, 0, NotSerialized) Warning 1080 - Reserved method must return a value ^ (_GTF) ./dsdt_fixed.txt 7873: Method (_GTF, 0, NotSerialized) Warning 1087 - Not all control paths return a value ^ (_GTF) ./dsdt_fixed.txt 7873: Method (_GTF, 0, NotSerialized) Warning 1080 - Reserved method must return a value ^ (_GTF) I figure the most important thing to fix is the Error: ./dsdt_fixed.txt 2609: CreateDWordField (BUF1, Local2, CAPB) Error 4111 - Creating a named object in a While loop ^ Here's the offending code from/around line 2609: Method (_OSC, 5, NotSerialized) { Store (Arg3, Local0) Multiply (Local0, 0x04, Local1) Name (BUF1, Buffer (Local1) {}) Store (Arg4, BUF1) Store (Zero, Local1) Store (Zero, Local2) While (Local0) { Multiply (Local1, 0x04, Local2) CreateDWordField (BUF1, Local2, CAPB) If (Arg2) { If (LEqual (Local1, Zero)) { And (CAPB, 0xFFFFFFFC) } } Else { } Increment (Local1) Decrement (Local0) } Return (BUF1) } I understand the error - creating that new DWORD is illegal when you're in a loop. But I have no idea how to fix it! Ideas?
  3. I posted a C776CA/C700 guide some time ago, but it got deleted by forum mods... I still don't know why. So when I had to reinstall lately to complete my triple boot extravaganza, I thought this might be a good time to repost! I have an HP Compaq C776CA laptop, which is one of the famous C700 series. This model is a great hackintosh base... almost everything works, with very little customization! So here we go. Before booting to the install disk, make sure to enter your bios and enable legacy access to SATA devices. IIRC you actually DISABLE an option to do this, but I forget what it's called (sorry). Boot to the IPC 10.5.6 install disk, and proceed as normal. Customize to add the following items: - replacement appleacpibatterymanager - PS/2 Keyboard driver - rebuild DSDT That's it! Install, make sure that on your first boot you use -f -x , and you're most of the way there! I've attached two custom kexts you need to get your audio working. You should also install IntelEnhancedSpeedStep.kext, available elsewhere. That's it! You're away to the races! THINGS THAT DON'T WORK - Occasional keyboard artifacts, no tap/multitouch on trackpad (IIRC these are fixed with the ALPS glidepoint driver, I haven't tried it yet this time) - built in webcam (vista-only) - audio line in jack - wake from sleep (actually it works, but disables all your system fans. You overheat VERY quickly and can damage your computer!) - some C776CAs come with Atheros 5007 wireless cards. These are notorious, and have their own threads for support. I replaced mine with a Broadcom card... it's very easy surgery, and with a linux live CD you can add it to the BIOS whitelist. Then you're in compatible-land with the rest of us! Everything else works great. I'd like to try the glidepoint driver, and I'm working on learning DSDT hacking so I can fix sleep/wake. If/when these produce results, I'll update here. Anyone that might like to /be able to help in the DSDT work, please post here or PM me. Sound_kexts.zip
  4. One of the common issues with OSX86 installs tends to be ACPI - people have a hard time getting their fans or CPUs to throttle, or often they can't sleep/wake properly. Unfortunately information on these various problems and solutions is scattered all across the forum, making it quite difficult to gather this information. This post is intended as a central posting place for everyone who has or has had ACPI problems of any kind, where they can post their kexts, solutions, and fixes. I'll try and catalogue them at the top here. SOLUTIONS SLEEP/WAKE - your first troubleshooting tool is "pmset". From the command prompt run "sudo pmset -a hibernatemode X" where X is 0,1,3, 5, or 7. This sets what your computer does when it receives the "sleep"command: 0 - suspend to RAM (S3 sleep) 1 - suspend to Hard Disk ("hibernate") 3 - "Safe Sleep", suspend to RAM with a backup copy on HDD in case of power fail 5 - same as 1 but for secure memory 7 - same as 3 but for secure memory Particularly when posting to a forum, you want to specify whether your problem is with S3 or hibernate, because they're two totally different processes. - some people have problems because of kext dependencies. Go to System Profiler -> Extensions. Each extension will tell you if it has any unmet dependencies. Make sure that all kexts' dependencies are "satisfied." - some models of ACER are reported to wake more reliably if you set a Hard Drive password in BIOS. No idea why this works, but apparently it does. Don't ask me, I don't have an ACER . - Try the Voodoopower kexts! They did nothing for me, but SuperHai has saved a lot of ACPI asses with it! CPU THROTTLING - Install the IntelEnhancedSpeedstep kext. It works wonders. - Try VoodooPower kexts. FAN THROTTLING - VoodooPower - Check your dependencies - especially for PS/2 and ACPI kexts. - The built in AppleACPIPlatform.kext handles this for me, along with Powermanagement.bundle. Make sure your AppleACPIPlatform version matches the rest of your OS, or try some of the alternates posted on this board: http://www.insanelymac.com/forum/index.php?showtopic=80425 UNSOLVED PROBLEMS - Many Compaq C700 models seem to sleep and wake fine, but on wake their CPU and fan throttling doesn't work. Submit your resources, problems and solutions and I'll add them to the page!
  5. Since then I monkeyed with a bunch of my powermanagement kexts, and now my CPU throttling and fan control are completely wrecked. Sleep/wake is wonderfully reliable, but it reliably breaks all the non-core kexts (sound, battery meter etc). And I overheat all the time, which is a massive pain in the butt. sigh. Anyone care to write an update C776CA doc for optimal sleep/wake performance?
  6. Compaq Presario C700 series hackintosh users

    Question for all you other C700 owners: how does sleep work for you? Did you have to do anything to get it to work? I have a C776CA, and we all have an issue where if sleep works, on wake your CPU runs at full throttle and the OS fan control doesn't work (ie CPU fan runs at idle speed till it hits 80 degrees, then BIOS control puts it to full speed to cool down to 78). I'm wondering if any of your solutions might work for us.
  7. Holy {censored} BH that's great news! I might try a fresh reinstall just to see if that helps... though as I recall I didn't have any success right after my initial iPC install, so who knows. I did find another sleep thread with a great suggestion though: make sure all your kext dependencies are met. Unmet dependencies are KNOWN to cause crashes and faulty wakeups. Have a look in system profiler under extensions. Each kext will explain if it has any unmet dependencies, and what the problem is. Apparently my ACPIPS2 nub kext doesn't like my version of AppleACPIPlatform. I will work on this and let you all know my progress. UPDATE: eliminating my dependency issue did make a difference! S3 sleep still causes the same problem (though I'm gonna test it again), but hibernate no longer kills my sound kext. Battery meter is still hooped on wake, but at least I have sound. CPU fans still having trouble on wake (they only come on when temp hits 80 degrees, and only cool to 78 degrees, tho this fixed my pre-sleep fan issues)
  8. Sleep issue upgrading to 10.5.7

    This is bizarre. does pmset give you any errors? That's really the only method of setting sleep states. Maybe the power management update made OSX think your computer doesn't support S3 sleep? Try going back to your previous version of powermanagement.bundle and see if that helps. Look through console logs to see if there's a status message about what your ACPI is capable of.
  9. Why Update to 10.5.7? (or update at all...)

    The update is pretty low risk. You'll have to reinstall any HDA or power management patches you have. Battery lasts 33% longer for some people... for me, it made sleep work (almost).
  10. I just updated to 10.5.7 with the apple updater. I had to reinstall my custom AppleHDA.kext and HDAenabler.kext, and I took the PowerManagement.bundle from my 10.5.6 installation (rather than the older one I was using before).... And S3 sleep works. Beautifully, I might add. I have had the occasional KP, I'll post more if it's related. UPDATE: Sleep and wake do work perfectly... but on wake it doesn't re-enable a few of my kexts... like powermanagement. So it wakes back up, and I can watch the CPU temperature climb to amazing highs before I finally get a KP. Anyone have advice on getting your CPU fans back into gear post-sleep?
  11. When I installed Voodoo Power, it wrecked my fan control. Now my fans don't control the temperature properly, so I get kernel panics about once every 2 days or so. Today, I uninstalled the voodoopower kext, and now my fans are full speed all the time. If that guide was still up, I'd have the right fan control kext to install again to fix the problem. But it's not, so I don't. I never got a response from the mod I wrote about the post, and even I don't have copies of the files or information. Generally, install iPC. Don't select a graphics driver, the default enables QE/CI for our chipset. Get the IntelEnhancedSpeedstep.kext from elsewhere on the forums to get speedstep working. Beyond that, I don't remember what I did. That's why I wrote the guide in the first place! /sigh/ Feel free to PM me or post on this thread with questions, I'll do my best to answer. The only thing that never worked for me was S3 sleep and hibernate. Actually, S3/hibernate work, but WAKE doesn't! Wake seems to disable all my kexts, including audio, power management, throttling, and fan control. The second time I try to sleep, I get a KP. Bootup is so fast for me that it's not terrible to just power down, but I REALLY would like a proper sleep mode. Anyone got this figured out?
  12. Small update - apparently my Suyin 0xc108 cam is supported by uvcvideo in Linux, even though it isn't listen on the website. People have it work out of the box in Ubuntu! I know it's silly, but this is making me consider switching to Ubuntu. My suspend would work, too... and OSX still gives me a KP about once every 2 days, for no good reason.
  13. I would be surprised if no one has thought to check their console. I found all sorts of interesting info there for my Suyin webcam-101 (detected, Ven 0x064e Prod 0xc108) when I tried to use photobooth with the 10.4.9 kexts: 4/29/09 8:27:00 PM Photo Booth[222] Opening shmem segment /com.allocinit.CTCtrl 4/29/09 8:27:00 PM Photo Booth[222] Opening shmem segment /com.allocinit.CTImg0 4/29/09 8:27:00 PM Photo Booth[222] Opening shmem segment /com.allocinit.CTImg1 4/29/09 8:27:00 PM Photo Booth[222] Opening shmem segment /com.allocinit.CTImg1 4/29/09 8:27:00 PM Photo Booth[222] Opening shmem segment /com.allocinit.CTImg0 4/29/09 8:27:00 PM Photo Booth[222] WARNING: Missing colorspace information from camera capture frame. Guessing QC 601 170M, which is probably wrong. 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] < CVPixelBufferRef 0x8c60520 width=640 height=480 bytesPerRow=2560 pixelFormat=32 attributes=<CFDictionary 0x8c604d0 [0x1f031a0]>{type = immutable, count = 4, capacity = 6, pairs = ( 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] 0 : <CFString 0x312a484 [0x1f031a0]>{contents = "PixelFormatType"} = <CFNumber 0x1f413c90 [0x1f031a0]>{value = +32, type = kCFNumberSInt32Type} 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] 1 : <CFString 0x312a224 [0x1f031a0]>{contents = "Width"} = <CFNumber 0x1f4cecc0 [0x1f031a0]>{value = +640, type = kCFNumberSInt32Type} 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] 4 : <CFString 0xb90d8c [0x1f031a0]>{contents = "CVImageBufferGammaLevel"} = <CFNumber 0x1f54b9f0 [0x1f031a0]>{value = +1.79998779296875000000, type = kCFNumberFloat64Type} 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] 7 : <CFString 0x312a214 [0x1f031a0]>{contents = "Height"} = <CFNumber 0x1f4db490 [0x1f031a0]>{value = +480, type = kCFNumberSInt32Type} 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] )} propagatedAttachments=<CFDictionary 0x8c5f5c0 [0x1f031a0]>{type = mutable, count = 2, capacity = 3, pairs = ( 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] 0 : <CFString 0xb90d8c [0x1f031a0]>{contents = "CVImageBufferGammaLevel"} = <CFNumber 0x8cc4860 [0x1f031a0]>{value = +1.79998779296875000000, type = kCFNumberFloat64Type} 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] 1 : <CFString 0x312a6e4 [0x1f031a0]>{contents = "CGColorSpace"} = <CGColorSpace 0x1f6f2ee0> (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; Composite NTSC) 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] )} nonPropagatedAttachments=<CFDictionary 0x8c5f570 [0x1f031a0]>{type = mutable, count = 0, capacity = 3, pairs = ( 4/29/09 8:27:00 PM [0x0-0x18018].com.apple.PhotoBooth[222] )}> Not being able to find the Colorspace might explain why the system can power the camera and connect... but all I get is a black screen. Your thoughts? BTW, any program I use with the camera generates the top few messages about shmem segments (whatever those are). I just thought the photobooth warning might be significant.
  14. Atheros AR5007 working but not perfect. Heres the guide.

    AFAIK the AR5007 Kismac trick doesn't work with 10.5.6 vanilla. Some people have had success using the sleep kernel, but YMMV. Personally, I just replaced the card.
  15. ALPS Glidepad Driver (2 finger scroll etc...)

    C776CA (c700) here, and this works great. The only downside... I don't have any way to control my mouse sensitivity! I'd like it a bit faster than it is... Thanks for all the work so far, guys!
×