Contribute
Register

Brightness control for HD4k 0x01660003

Status
Not open for further replies.
How to do it?

How to do what? Install AppleSmartBatteryManager.kext?? Did you read the README.md? Use Kext Wizard to install the kext. It will overwrite Apple's version. You will generally have to re-install after any Apple system update.

I'm new on xCode

You don't need Xcode. If it doesn't work, then your DSDT likely needs patches. You'll use MaciASL for that.
 
Installed, but the it don't show the percentage..
:/
 
About the Bluetooth:

I modified the CheckEndPoints into:
>Item0
>>EndpointNumber = 3
>>TransferType = 0
>Item1
>>EndpointNumber = 2
TransferType = 1

and get this on console:
init: (https blablabla.git)
attach
probe
detach
attach
start - Version 1.1.4 starting
start!
start: device reset
start: num configurations 1
message
start: device status 3
start: interface has 3 endpoints
start - failed to get endpoint 0 properties
detach
 
About the Bluetooth:

I modified the CheckEndPoints into:
>Item0
>>EndpointNumber = 3
>>TransferType = 0
>Item1
>>EndpointNumber = 2
TransferType = 1

and get this on console:
init: (https blablabla.git)
attach
probe
detach
attach
start - Version 1.1.4 starting
start!
start: device reset
start: num configurations 1
message
start: device status 3
start: interface has 3 endpoints
start - failed to get endpoint 0 properties
detach

It doesn't make any sense to change the endpoint checks. They are not needed for operation of the software... just a sanity check to be sure the device it is talking to is as expected.

See the section with PipeNumber=0 (no end points to check).
 
See the section with PipeNumber=0 (no end points to check).

I don't understand.

btw what edit should I do for the Battery DSDT?
 
I don't understand.

Look at the Info.plist. Find the one that has PipeNumber=0. It is 'IOath3kfrmwr-0cf3-3000'. Make the Info.plist data for your device look the same. Try it.

It probably won't work, as I believe your device is not compatible at all with this firmware.

btw what edit should I do for the Battery DSDT?

First you should determine what DSDT methods are failing so you know what to focus on. Run the debug version of AppleSmartBatteryManager.kext and examine the debug output in system.log using Console. That way you can find out if batteries are being detected (_STA) and if _BST or _BIF methods are failing.

You need to change it so all access to EC registers from battery methods (or methods they call) are 8-bit access only and/or fix any other issues with the DSDT methods. ACPI spec is useful for this: https://www.acpica.org/
 
Look at the Info.plist. Find the one that has PipeNumber=0. It is 'IOath3kfrmwr-0cf3-3000'. Make the Info.plist data for your device look the same. Try it.

It probably won't work, as I believe your device is not compatible at all with this firmware.

I have ever tried it and same output with PipeNumber=1

First you should determine what DSDT methods are failing so you know what to focus on. Run the debug version of AppleSmartBatteryManager.kext and examine the debug output in system.log using Console. That way you can find out if batteries are being detected (_STA) and if _BST or _BIF methods are failing.

You need to change it so all access to EC registers from battery methods (or methods they call) are 8-bit access only and/or fix any other issues with the DSDT methods. ACPI spec is useful for this: https://www.acpica.org/

ok I'll try it
 
This is the log
 

Attachments

  • Battery.zip
    1.1 KB · Views: 87
This is the log

So now you know that _STA and _BST is working. But _BIF is not, so you can focus on fixes to that DSDT method.
 
So now you know that _STA and _BST is working. But _BIF is not, so you can focus on fixes to that DSDT method.

Can you teach me how to fix it?
 
Status
Not open for further replies.
Back
Top