Jump to content
rafaelsaba

[AJUDA] Kexts de USB 3.0 e Bateria

Recommended Posts

Olá amigos, fiz a instalação do Yosemite porém estou com problema nas Kexts de bateria AppleACPIPlatform.kext e VoodooBaterr.kext elas estavam funcinando e não sei por que elas não estão mais. Também não consigo usar a minha USB 3.0 eu estava usando a Kext GenericUSBHCI.kext.


Alguém sabe como resolver esse problema?


Obrigado

Link to comment
Share on other sites

AppleACPIPlatform do 10.6 não funciona no 10.10, usa esta kext que funciona com a atual

https://github.com/RehabMan/OS-X-ACPI-Battery-Driver


Pode precisar patch na DSDT

https://github.com/RehabMan/Laptop-DSDT-Patch/tree/master/battery


USB 3.0

http://Olarila.com/files/10.10/USB3/GenericUSBXHCI.kext.zip

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

AppleACPIPlatform do 10.6 não funciona no 10.10, usa esta kext que funciona com a atual

https://github.com/RehabMan/OS-X-ACPI-Battery-Driver


Pode precisar patch na DSDT

https://github.com/RehabMan/Laptop-DSDT-Patch/tree/master/battery


USB 3.0

http://Olarila.com/files/10.10/USB3/GenericUSBXHCI.kext.zip

 

Obrigado pela resposta Perna, uma pequena Dúvida eu entrei no primeiro link do gihub e baixei o Zip, só que ele não veio em formato Kext como eu faço?


No segundo Link tem varios Patchs e meu notebook é o Acer Aspire 5750 (Não G) e só tem o G eu posso usar o mesmo Patch?


Obrigado



Outra coisa Perna, a Kext de USB 3.0 não funcionou pra mim. O que posso fazer?

Link to comment
Share on other sites

Você baixou do link errado, baixa do bitbucket logo abaixo.


Testa o patch, normalmente funciona de modelos parecidos. Usa MaciASL para aplicar.


Pode tentar os patches na AppleUSBXHCI usando o Clover

http://clover-wiki.zetam.org/Configuration/KernelAndKextPatches#KextsToPatch

 

Disable Intel & Fresco Logic USB3.0 controllers check:

000000000000ffc4 jne 0x10000
F6 80 D4 00 00 00 80 75 34
-->
000000000000ffc4 jmp 0x10000
F6 80 D4 00 00 00 80 EB 34

This one is actually "75 34"-->"EB 34", but there are more than one "75 34" in the binary.


Disable XHCI 1.0 check:

0000000000012160 cmpl $0x100, %eax ## imm = 0x100
41 BC C7 02 00 E0 3D 00 01 00 00
-->
0000000000012160 cmpl $0x000, %eax ## imm = 0x000
41 BC C7 02 00 E0 3D 00 00 00 00

This one is actually "3D 00 01 00 00"-->"3D 00 00 00 00", but there are more than one "3D 00 01 00 00" in the binary.


Patch MSI or pin interrupts:

00000000000144a3 orl $0x400000, 0x8(%rcx) ## imm = 0x400000
81 49 08 00 00 40 00
-->
00000000000144a3 orl $0x000000, 0x8(%rcx) ## imm = 0x000000
81 49 08 00 00 00 00

000000000001574c movl $0x000000, 0x8(%r15) ## imm = 0x400000
41 C7 47 08 00 00 40 00
-->
000000000001574c movl $0x000000, 0x8(%r15) ## imm = 0x000000
41 C7 47 08 00 00 00 00

00000000000159bc movl $0x400000, 0x8(%r15) ## imm = 0x400000
41 C7 47 08 00 00 40 00
-->
00000000000159bc movl $0x000000, 0x8(%r15) ## imm = 0x000000
41 C7 47 08 00 00 00 00

Disable the sleep code leaving the controller in non-working state after wake:

000000000000641e movb $0x1, 0xc8(%rax)
C6 80 C8 00 00 00 01
-->
000000000000641e movb $0x0, 0xc8(%rax)
C6 80 C8 00 00 00 00

Enable PCI power management if there is no such code in DSDT:

0000000000006486 jne 0x64d5
75 4D 48 8B BB E8 01 00 00
-->
0000000000006486 jmp 0x64d5
EB 4D 48 8B BB E8 01 00 00

This one is actually "75 4D"-->"EB 4D", but we can't be sure if next OSX update would bring more than one "75 4D" in the binary.

http://www.insanelymac.com/forum/topic/285157-patched-appleusbxhci-from-os-1082/

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Você vai ter que ler a documentação, tem até exemplos no final do último link. Usa PlistEdit Pro ou algum conversor online para converter os bytes para base64.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Posso usar o Clover Configurator para editar confg.plist?


Alias o exemplo no caso seria esse?

 

<key>KextsToPatch</key>
<array>
<dict>
   <key>Name</key>
   <string>VoodooHDA</string>
   <key>Find</key>
   <data>SGVhZHBob25lcwA=</data>
   <key>Replace</key>
   <data>VGVsZXBob25lcwA=</data>
</dict>
</array>

Link to comment
Share on other sites

Não, o exemplo é este

http://www.insanelymac.com/forum/topic/285157-patched-appleusbxhci-from-os-1082/?p=2094930


Nunca usei o Configurator, mas acredito que sim.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Perna eu estou colocando Patch desse jeito, você poderia ver se esta tudo ok?


Não funcionou nada cara, o problema persiste.


 

<key>KextsToPatch</key>
	<array>
		<dict>
			<key>Comment</key>
			<string>External icons patch</string>
			<key>Find</key>
			<data>
			RXh0ZXJuYWw=
			</data>
			<key>Name</key>
			<string>AppleAHCIPort</string>
			<key>Replace</key>
			<data>
			SW50ZXJuYWw=
			</data>
                      </dict>
	</array>
</dict>
<dict>
		<key>Comment</key>
		<string>Disable XHCI 1.0 check</string>
		<key>Find</key>
		<data>
		QbzHAgDgPQABAAA=
		</data>
		<key>Name</key>
		<string>AppleUSBXHCI</string>
		<key>Replace</key>
		<data>
		QbzHAgDgPQAAAAA=
		</data>
	</dict>
	<dict>
		<key>Comment</key>
		<string>Enable PCI power management</string>
		<key>Find</key>
		<data>
		dU1Ii7voAQAA
		</data>
		<key>Name</key>
		<string>AppleUSBXHCI</string>
		<key>Replace</key>
		<data>
		601Ii7voAQAA
		</data>
	</dict>
               <dict>
                       <key>Comment</key>
                       <string>Patch MSI or pin interrupts 1</string>
                       <key>Find</key>
                       <data>
                       gUkIAABAAA==
                       </data>
                       <key>Name</key>
                       <string>AppleUSBXHCI</string>
                       <key>Replace</key>
                       <data>
                       gUkIAAAAAA==
                       </data>
               </dict>
	<dict>
		<key>Comment</key>
		<string>Patch MSI or pin interrupts 2</string>
		<key>Find</key>
		<data>
		QcdHCAAAQAA=
		</data>
		<key>Name</key>
		<string>AppleUSBXHCI</string>
		<key>Replace</key>
		<data>
		QcdHCAAAAAA=
		</data>
	</dict>
	<dict>
		<key>Comment</key>
		<string>Disable Intel & Fresco USB3.0</string>
		<key>Find</key>
	        <data>
		9oDUAAAAgHU0
		</data>
		<key>Name</key>
		<string>AppleUSBXHCI</string>
		<key>Replace</key>
		<data>
		9oDUAAAAgOs0
		</data>
	</dict>
	<dict>
		<key>Comment</key>
		<string>Disable sleep code</string>
		<key>Find</key>
		<data>
		xoDIAAAAAQ==
		</data>
		<key>Name</key>
	        <string>AppleUSBXHCI</string>
		<key>Replace</key>
		<data>
		xoDIAAAAAA==
		</data>
	</dict>

Link to comment
Share on other sites

Em "Patch MSI or pin interrupts" tem 3 patches e você só colocou 2.


Se funcionava no Mavericks com a GenericUSBXHCI, deveria funcionar no Yosemite com essa versão que eu indiquei, pelo menos aqui funciona (uso em /S/L/E com kext-dev-mode=1).

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...