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.

Hex Hex

  • Content count

  • Joined

  • Last visited

About Hex Hex

  • Rank
    InsanelyMac Protégé
  1. sinnsyk and golem216, For laptop power management (so the battery indicator works) you can use VoodooBattery (www.superhai.com). I'm also most of the way writing a new battery driver as Superhai's has problems with multiple batteries and I needed hooks so that my Backlight Utility can change brightness automatically on battery/AC power etc., a beta version is up on my site now and it's called HexLaptopPower.kext. (http://www.mediafire.com/hexhex) Please note >>>> you don't need to install a hacked PowerManagementBundle with VoodooBattery.kext or my new HexLaptopPower.kext. Both work with the Apple vanilla SystemConfiguration bundle i.e. retail. For battery status indicators I seriously recommend installing Slim Battery Monitor, it's way better than the native Apple indicator. Get it from http://slimbatterymonitor.en.softonic.com/mac BTW Golem216, to solve your problem with the old version of HexBacklight simply go to System Preferences and right click Hex Backlight and Uninstall it. Then exit Sys Prefs and go bak in and if you see another Hex Backlight there right click and uninstall that too. Then reinstall the latest version. Hex
  2. Edwin, I wasn't planning to update the 10.5.6 package as I'm solely working with 10.6 now as I feel it's more stable and generally a much better OS. With that said you should be able to resovle your keyboard and Sleep issues. For keyboard, are you running the Voodoo PS2 driver? It's called VoodooPS2Controller.kext and also gives you a scrollable trackpad etc. With this driver you don't need the other PS2Nub drivers etc in my installer package. For Sleep, have you installed Superhai's EHCIUSB driver? I think they may solve your sleep problem assuming your laptop tries to go to sleep but switches back on by itself after about 5 minutes and keyboard activity. In the system log it says something like "System Doze". Hex
  3. Remy, That Bluetooth plist fix works perfectly in 10.6, an excellent find and thanks! For Sleep I tried the IOPCIFamily.kext from Slice (v2.6.1) but it does not work for me which is rather curious. Still the same old problem of screen powers-off but the CPU & USB are still powered on and a hard power-off is needed to reboot and get it alive again. Thanks, Hex
  4. Sghctoma, I test booted into x64 but loads of stuff doesn't work (i.e. all i386 drives and apps) and you need to get a 64bit version of dsmos.kext etc. Go here , should be everything needed to at least boot. I did have heat problems especially after sleep but solve it by edits to my DSDT. Are you using mine or your own? My temps are about 60 deg.cel normally and about 40 deg.cel after sleep but the downside is that the fan is always on. I haven't yet mastered how the fans and temps are configured in DSDT and would like to get to the point where everything sits at around 50 deg. cel as the noise is a little noisy and 60deg little too warm (but not too bad). For those of you having problems with stability my advise is to be willing to spend time diagnosing your problems one by one. I know it sounds obvious but every problem can be solved given the right technique and willingness to dig deep (and maybe reboot a million times while debugging . I had near perfect stability on 10.5.2, 10.5.4 10.5.6 and now 10.6 - doesn't mean everything runs perfectly but I know enough about my configuration to keep it stable and considering my 8510w is my primary work machine for 10-12 hours each day that ain't too bad for an unsupported OS. So in summary "work you problems" but keep a fallback/recovery plan up your sleeve for when you test something past breaking point. Personally I use SuperDuper and mirror my "working partition" to another partition whenever it's in a good reliable state before I try a new driver or tinker with the unknown. Regards, Hex
  5. Remy, Sorry to hear about your probs with 10.6 Mine is perfect and now is even more stable than 10.5.x to the point where it's my main OS for "the day job". I don't use Extra Extensions... played around with it initially but it became a pain when booting between different version builds on different partitions. The whole dependency thing that your seeing with IOPCCardFamily.kext is a perfect example as you'll need to put a load of kext's in the Extra/Extensions directory for it to work and even then I think it'll be uglier than using /S*/L*/E*. If you must use /Extra/Extensons then only use the simple driver with no dependencies such as dsmos, PS2nub, decrypt etc. The only other option is to create a directory like "Extra/AdditionalExtensions" and create a mkext file of it with /S*/L*/E* and leave that in the Extra directory. The command is something like: kextcache -v 1 -t -l -m /Volumes/EFI/Extra/Extensions.mkext /Volumes/EFI/Extra/AdditionalExtensions /System/Library/Extensions or if you've got an Extra Dir on each partition you could do: kextcache -v 1 -t -l -m /Extra/Extensions.mkext /Extra/AdditionalExtensions /System/Library/Extensions That should solve your dependancy issue although I haven't tried it myself (Google). Hex
  6. I've solved the problem with IOATAFamily.kext causing Kernel Panics when booting 10.6. Grab this file from my HexHex file share: http://www.mediafire.com/file/dzjwmymgkid/...Hex_v2.kext.zip You then need to: 1) cd to /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns 2) Backup/delete or rename AppleIntelPIIXATA.kext 3) Unzip the zip file in /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns as root (sudo etc) 4) touch /System/Library/Extensions 5) Reboot and your DVD and/or SSD or IDE drive will be working The problem was during PATA (DVD drive) PCI device configuration with channel 1. When nothing is on the channel it would fail and do a "return false". The "return false" was causing the kernel panic which it shouldn't do which makes me think Apple has changed something in the kernel with 10.6. Anyways, bit of a hack but does the trick. My debug output from the driver will show up in the kernel log but I'll remove it once the 10.6 source is released as I recompiled the 10.5.6 driver for 10.6. Any problems, PM me or look for me in IRC #hackintosh PLEASE NOTE: It's only complied for i386 so won't work if your running 64bit OS X 10.6 Hex
  7. In that case I'll stop responding to you as though your a noobie! I'm sure Embedded C++ is Apples' pseudonym for "All the C++ love but no error handling if your an idiot and screw up" Hex
  8. Sghctoma, Mac OS X Internals is a great book. I recommend the C++ Bible too for driver C++ syntax but while coding you got to remember it's embedded C++. But by far the most useful resources so far have been... 1) Apples opensource Darwin repository - download it all and go exploring then setup Opengrok so you can hunt for related code across all whole collection 2) The Xcode documentation for IOKit when running Xcode on 10.5.x (need Mac Dev login for ADC with 10.6) 3) The source from Superhai and other hackintosh coders especially Superhai as his code is simple to read and a total work of art 4) Google and probably most important of all... 5) Xode's "Jump to Definition" command as you get to see syntax and type requirements for unknown functions etc. and can keep drilling down til you get to a primary type or definition Jorizzzzzz, thanks and I appreciate the offer! Hex
  9. Hey your welcome and I'm glad Hex Backlight is working. I'm getting about 3 hours too and with the Super Duper HP Extended battery thingie I get about 6-7 hours which totally rocks! My bluetooth/wifi switch works but to get it working you need to boot into Windows XP/Vista etc and turn it on there and then boot back into OS X. I think the windows drivers does something freaky in the BIOS/ACPI but after the reboot to OS X it switches on/off as you'd expect and you never have to boot back into Windows again. Go figure. But hey, one note about that swtich. It isn't really a true on/off switch i.e. it doesn't power down the bluetooth or PCIe wifi card. All it does it switch off the antenna, at least that is what I read somewhere and it seems to make sense when observing the IORegistry. And thanks for the script, I had played with trying to unloaded VoodooHDA on reboot but thought I'd leave it until I had time to see if I could solve the actual problems with PM support in the VoodooHDA driver. BTW ditto on sleep not working, I've spent most of today trying to figure whats broken with it and also trying to solve the problem of mechanical power off (State G3) but still no cigar. Would love to solve them properly although I have managed to hack a driver which forces a reboot when you "shutdown" , that way you just need to tap the power button once when the HP logo appears but it still kinda sucks. Thanks, Hex
  10. I've release Hex Backlight v2.0-beta1 for controlling LCD brightness on HP 8510w laptops. Read this topic: Hex Backlight v2.0 Regards, Hex Hex
  11. I'd like to announce the release of Hex Backlight v2.0 beta1... I've written a driver, Preference Pane and MenuBar utility to allow control of the LCD Brightness (Backlight) for laptops with Nvidia Go graphics cards. There is also some generic ACPI support via the _BCM method in DSDT but that is still a work in progress for non-Nvidia graphics cards. The Pref Pane consists of four tabs. The first tab being the main one with control of the brightness level. You also enable the MenuBar utility and can run a complete 100% to 15% to 100% cycle test so you can safely determine the best levels for your laptop: The second tab shows you the current brightness values in ACPI when the laptop is running from Battery and AC power. Currently you can't change these values and they don't work i.e. plugging-in your laptop doesn't yet cause a brightness change as I'm still writing the hooks into the Power Management system. But it will work in the next release. The third tab is a status tab, shows the methods that Hex Backlight is using to control LCD brightness. It's really there for debugging and to make it easier for me to extend support non-Nvidia cards and generally it's just rather cool to see some of the internal workings. Some of the flags are not yet reporting the right information (Nvidia card, Graphics card name etc): The MenuBar utility shares the same icon as the Pref Pane and provides realtime brightness control and a button to get to the Pref Pane quickly. If the slider is greyed out then the driver (HexBacklight.kext) is not running and it goes into a loop until it can connect to the driver. Sliding up and down occurs instantly i.e. before you Mouse-Up unlike the main Pref Pane Brightness slider: Installlation: To install download the installer from my file share: http://mediafire.com/hexhex and file name "Hex Backlight Installer v2.0.pkg" and run it. I highly recommend installing to the default locations (S/L/E for driver and /Library/PreferencePanes for the PrefPane) as I don't think it will work otherwise. Please note, I compiled this under OS X 10.6 but it should work under 10.5 although I haven't tested it on 10.5.x except the earlier versions which worked fine. BIG FAT WARNING: If your graphics card doesn't store the brightness registers in the location Hex Backlight goes probing then there is a risk this driver will kernel panic your system. There is no exception handling with OS X drivers so the Kernel Panic can't be avoided. If your card is supported then there is nothing to worry about. If you KP then remove the driver and send me a PM and I'll figure out if I can add support for your card. Whats planned for the next release: 1) Automatic brightness change based on power source change (bat/AC etc) 2) Generic control via ACPI for non-Nvidia laptops 3) Brightness level persistence across reboots 4) Hotkey and/or Fn-key support so you can use the normal laptop brightness up/down Fn keys One more thing, this is my first serious OS X combined C++ driver with Cocoa/ObjC app so don't shoot me if things arn't as perfect as they could/should be. It's was a {censored} figuring out how best to access the right registers on my Nvidia 570m card but in the end I feel the driver is incredibly lite and efficient and almost everything is on-demand via notifications rather than timers or workloops. There is still the odd bit of inefficient code but but it's in the seldom used places so shouldn't matter too much. Good luck and any feedback would be great. Hex Hex Developed on and for: HP 8510w laptop with Nvidia Quadro 570m card with 256mb ram. Running OS X 10.6 with 4GB ram. Desktop screen cap: http://www.mediafire.com/file/dgjhyc2tzo2/...2_Screen_01.png
  12. Remy, The HP 8510w doesn't use PhoenixBIOS, it uses a custom HP bios. PM me the vendor and device id for your Dell wifi card and also the year your laptop was made and I'll see if my hacked bios is suitable for your machine. Hex Hey Jorizzzzzzzzzzzzzzzz, Cool, glad it's working. I've got a way better version now (2.0-beta1) complete with MenuBar slider etc. I'll upload it to my site later tonight and post something in the forum. Regarding shutdown, I suffer the same problem and nothing has solved it and that includes the various "shutdown/restart" drivers for 10.5 and also playing around with ACPI. The problem is also in 10.6 and I think it's something to do with the native OS X shutdown/halt binary, it's probably calling some funky Openfirmware routine which leaves ACPI/BIOS shutdown in an orphaned type state. Anyways, I'm thinking of hacking some stuff together to try and isolate the problem more. Hex
  13. Guys, So, after a few days of serious testing on my HP 8510w I think that 10.5.6 and 10.5.7 are not so great in comparison to another version of OS X that's out there. If you want to know what I'm talking about check out the driver zips files available from my file share: http://www.mediafire.com/hexhex It's the one listed under my 10.5.6 driver installer package zip file. Good luck and look for me in IRC if you want to discuss more, Hex
  14. RuUb, You are totally right, when I created the installer I didn't know they did the same thing. Now I only use Superhai's VoodooPower. In the next version of the installer I'll remove IntelSpeedStep.kext, that'll be in the next few weeks as it's time for an update. Cool, report back how 10.5.7 works. Regarding EFI/Extra/Extensions, I no longer use it. I played around with it for a month or so but the whole dependency/prerequisite issues meant all family-dependent custom kext's can't nessicarily reside there and it got so damn difficult to track down problems/conflicts that I decided better to keep everything in /S/L/Extensions so I can easily boot between OS X versions and know my problems are isolated. Hex
  15. Guys, Comments as follow: VoodooHDA: I really want to use VoodooHDA driver instead of AppleAzalia but the VoodooHDA drivers was buggy when I last tested it and had major issues with it's power management support i.e. audio noises & crashes after sleep/wake. I'll take another look later this week and see if those bugs have been resolved. Power Off problem: Haven't managed to resolve it, in fact I haven't even managed to find out the root cause of the problem even though I've hunted through DSDT and the various hacktintosh drivers. I'll give it some more time next week as this problem bugs me loads. FYI, if you install OS X 10.5.6 retail using Boot-132 i.e. 100% vanilla then the problem isn't there i.e. powers off normally so it's something we do or add thats breaking it. 10.5.7: Did a test upgrade 3 weeks ago and no problems encountered during 15-20 minutes of testing. BUT straight afterwards I switched back to my 10.5.6 partition as was in the middle of writing a driver and didn't need the aggrevation of coding on an unfamiliar system version. Chameleon 2.0: Personally I believe that if your running Chameleon 2.0RC1 you are best placed to erase your build and install from retail DVD. I only say this because with the various builds (Kalyway, iPC etc etc) it's so hard to know exactly what has been modified and what dependancies you have if you want to revert a driver (kext) back to the Apple one. Of course it's easy for me to say that as my HP laptop works out of the box with retail DVD (i.e. boots) but for many it doesn't. Bios: Probably the single most lowest level hack I've done since I started working in IT 18 years ago. Definitely the most freaky as my laptop is a company one and I didn't want to fry it Anyway, to hack your 8510w bios there is a whole bunch of steps including extracting the image bin file itself, finding the device id within the image bin (little endian) and then hacking to file so the checksums are still valid (i.e. byte count). You then got to get it onto a bootable USB stick and prey you haven't cooked your laptop. All in all the checksum bit is the hardest to figure out as your doing all of it via hex editor and calculating in binary. Anyways - Google is your answer to figuring it out, I definitely don't want to be preparing instructions as they need to be comprehensive and there are a few sites and tools which can help (well kind of help). BTW, I written a cool/awesome/rockin new driver and Preference Pane which solves the problem of LCD backlight control. I'm really happy with it and about to publish it to my file share in the next day or two once I've ironed out a couple more features. The driver & pref pane are called HexBacklight: If anyone wants to test it send me a message, it should work with any laptop that has a Nvdia Quadro mobile graphics card. It should also work with others laptops where the graphics card allows brightness changes via ACPI and the _BCM method (Nvidia blocks those ACPI calls hence the reason for this driver). Hex