RCOO Posted July 8, 2014 Posted July 8, 2014 Minha bateria funcionava sempre, na menu bar, colocando uma versão mais antiga do AppleACPIPlatform.kext e do AppleSmartBatteryManager.kext. Agora, se der rollback ao AppleACPIPlatform tenho um kernel panic. Como posso pôr a bteria a funcionar novamente? :s
pernacabeluda Posted July 8, 2014 Posted July 8, 2014 Fazendo os ajustes necessários na DSDT, para que a AppleSmartBatteryManager funcione com a AppleACPIPlatform atual http://www.insanelymac.com/forum/topic/272459-appleacpibatterymanagerapplesmartbatterymanager-for-lion/ Aqui tem o patch para diversos laptops https://github.com/RehabMan/Laptop-DSDT-Patch/tree/master/battery -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
RCOO Posted July 8, 2014 Author Posted July 8, 2014 Meu laptop não está na lista de patches =\ É um Toshiba P755-103. De forma manual não consigo encontrar uma parte do código que devo alterar. Tem como me ajudar?
pernacabeluda Posted July 8, 2014 Posted July 8, 2014 Tem um Toshiba na lista, tenta se basear nele, deve ser parecido. Resumidamente o que precisa fazer é localizar os registradores maiores que 8 bits que são lidos pelos métodos da bateria e substituir por 2 ou mais de 8 bits, por exemplo CECE, 16 trocar por ECE0, 8 ECE1, 8 e onde ele é acessado trocar por B1B2(ECE0,ECE1) O método B1B2 deve ser inserido na DSDT Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) } -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
RCOO Posted July 8, 2014 Author Posted July 8, 2014 No meu caso, por exemplo, o CECE só é declarado, nunca é usado. Mas o BRC0 é no seguinte código: Store (^^EC0.BRC0, Index (PBST, 0x02)) Devo substituir por Store (B1B2(^^EC0.RC00,^^EC0.RC01), Index (PBST, 0x02)) ? Faço isso apenas para os que têm mais que 16 bits? E se os registradores são usados do lado direito do store? Também converto em registradores de 8 bits?
RCOO Posted July 8, 2014 Author Posted July 8, 2014 Acabei de ver que no patch para o Toshiba tem lá que funciona com o # Toshiba Satellite P755-1004XT. Vou tentar aplicar o patch no meu dsdt. Depois de aplicar e compilar devo instalar mais algum kext?
pernacabeluda Posted July 8, 2014 Posted July 8, 2014 Isso mesmo, troca sempre que for usado, caso contrário nem vai compilar, pois o objeto original não existe mais. https://github.com/RehabMan/Laptop-DSDT-Patch/blob/master/battery/battery_Toshiba-A660-16Z.txt # works for:# Toshiba Satellite A660-16Z # Toshiba Satellite P755-1004XT É bem capaz de funcionar no seu, tenta aplicar com o MaciASL e vê se ele não rejeita os patches. Usa esta kext https://github.com/RehabMan/OS-X-ACPI-Battery-Driver -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
RCOO Posted July 8, 2014 Author Posted July 8, 2014 Só deu warnings. Sem erros. Vou tentar aplicar o kext e dar reboot.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now