Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve modification of kext file #16

Closed
julian-poidevin opened this issue May 5, 2017 · 2 comments
Closed

Improve modification of kext file #16

julian-poidevin opened this issue May 5, 2017 · 2 comments
Milestone

Comments

@julian-poidevin
Copy link
Owner

julian-poidevin commented May 5, 2017

Following fabioroberto comments add the following changes to void patchKernelExtensionFile(QFile* kernelFile); function :

  • Modify LogControl value from 0 to 1
  • Modify IdleInterval value from 100 to 10
  • Delete P3HistoryLenght setting
  • Modify SensorSampleRate from 10 to 10.000

plist

@julian-poidevin
Copy link
Owner Author

Real commit is c98f252

@julian-poidevin
Copy link
Owner Author

julian-poidevin commented May 6, 2017

keys are missing their values :

<key>SensorOption</key>
<key>SensorSampleRate</key>
<key>TargetCount</key>

If patch runned several times, it will delete values. Before removing a Sibling, check if it really exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant