ArgVega Posted April 29, 2010 Share Posted April 29, 2010 Hi there I'm fairly new to this forum and for a while now have been trying to get VMware to display my laptops battery life in the guest OS Snow Leopard. After much trial and error, I would like to see if anyone with more knowledge of how the battery system in VMware is emulated. My Specs: Vista Home Premium x64 Intel Core 2 Duo T6500 VMware Workstation 7 Snow Leopard installed using Zenith's "Freebsd" method along with his kernel, I did this due to no VT-x and it works great. Right now I have the following kexts installed: VoodooBattery.kext (for 10.6) VoodooPowerAcpi.kext (for 10.6) My results are: If I boot with the laptop plugged in, it displays the power adapter in and fully charged. If I unplug the adapter the kext doesn't recognize any change and remains showing the adapter plugged in. If I boot with the laptop unplugged, it displays the adapter is unpluged and shows battery life. If I plug in the cord, the kext shows the battery life increasing (almost infinitely), and it never takes notice that the adapter is plugged in. I don't know if its because I'm not running the vanilla kernel, which is what superhai designed the kexts in. Funny thing is when I boot an iATKOS v7i dvd, the battery kexts are loaded and work correctly, but when I install Leopard the same thing happens, but that was before I got SL running. Any help or guidance will be appreciated. Thanks Link to comment Share on other sites More sharing options...
Donk Posted April 29, 2010 Share Posted April 29, 2010 Hi there I'm fairly new to this forum and for a while now have been trying to get VMware to display my laptops battery life in the guest OS Snow Leopard. After much trial and error, I would like to see if anyone with more knowledge of how the battery system in VMware is emulated. My Specs: Vista Home Premium x64 Intel Core 2 Duo T6500 VMware Workstation 7 Snow Leopard installed using Zenith's "Freebsd" method along with his kernel, I did this due to no VT-x and it works great. Right now I have the following kexts installed: VoodooBattery.kext (for 10.6) VoodooPowerAcpi.kext (for 10.6) My results are: If I boot with the laptop plugged in, it displays the power adapter in and fully charged. If I unplug the adapter the kext doesn't recognize any change and remains showing the adapter plugged in. If I boot with the laptop unplugged, it displays the adapter is unpluged and shows battery life. If I plug in the cord, the kext shows the battery life increasing (almost infinitely), and it never takes notice that the adapter is plugged in. I don't know if its because I'm not running the vanilla kernel, which is what superhai designed the kexts in. Funny thing is when I boot an iATKOS v7i dvd, the battery kexts are loaded and work correctly, but when I install Leopard the same thing happens, but that was before I got SL running. Any help or guidance will be appreciated. Thanks I assume you have enabled VMware to pass the battery status to the guest? Link to comment Share on other sites More sharing options...
ArgVega Posted April 29, 2010 Author Share Posted April 29, 2010 Hi Donk, Yes I added that through VMware settings, and I checked my .vmx file and these are the following options that appeared: chipset.useAcpiBattery = "TRUE" chipset.useApmBattery = "TRUE" I believe it works at system boot and it loads appropriately depending on if its plugged or unplugged, but after that the kext doesn't recognize if it is plugged or unplugged. Do you think because I am not virtualizing the hardware, I need to find solutions for the power management for a hackintosh? Thanks for your help Donk Link to comment Share on other sites More sharing options...
ArgVega Posted April 30, 2010 Author Share Posted April 30, 2010 I think I might have found the cause of the problem. PC EFI 10.6 is setting my system type to the default of 1 which is a desktop. I have read this can be changed to system-type=2 in the Boot.plist, but I don't know what to do. I have searched to the forums but I don't know what is the correct way to set that in the Boot.plist, all I get is people saying set it to SystemType=2 My question to anyone reading this w/ chameleon booter knowledge is how to set this. is it a key or a boot flag? Or could someone with this option place an example Boot.plist so I can see correctly. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts