GithubHelp home page GithubHelp logo

rehabman / hp-probook-4x30s-dsdt-patch Goto Github PK

View Code? Open in Web Editor NEW
181.0 181.0 71.0 2.37 MB

This repository contains the ACPI patches (using Clover hotpatch) for a wide range of HP ProBook/EliteBook/ZBook laptops

License: Other

Makefile 48.32% Shell 51.68%

hp-probook-4x30s-dsdt-patch's People

Contributors

gizmotronic avatar memphiz avatar rehabman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hp-probook-4x30s-dsdt-patch's Issues

install_downloads.sh fails to install HWMonitor.app

When installing everything via install_downloads.sh there are 2 issues for me with HWMonitor.app.

  1. The installed version under /Applications/HWMonitor.app can't be started due to wrong filesystem permissions of the Growl.framework inside the app bundle
  2. Once that is fixed the HWMonitor.app shows an insanely high fan speed in the title bar - the fan speed is shown correctly inside the HWMonitor settings were the "to be shown" items are selected though.

problem after update to last UEFI hotpatch

Hi
I have hp 840 G3 running MacOS 10.12.6
I update the patch repositories and now I have some problems:

  1. sound work only on bluetooth or headphones build in speakers don't work.
  2. battery show 0% all time
  3. Volume / brightness keys don't work.
    I add Problem reporting File

Can you help me?
RehabMan.zip

Audio Codec

Hi

I have HP ProBook 650 G1
Im new to this but maybe this can help

After upgrade to High Sierra 10.13.4 my audio problems got worse. Actually even before that sometimes I have audio, sometimes I don't even after clearing cache and few restart it work but mostly that was after few restarts.

Maybe I'm wrong but I found out that I need codec for my audio witch by default almost every hackingtosh needs so in my case with DPCIManager i found that i have audio with IDT 92HD91BXX codec and somehow my audio worked without extra fix but not always it depends from time to time so the simple solution is to add kext that have all codec instructions and apparently I have fix the issue at least for this HP Laptop my audio works!! for now :)

From same developer of Lilu.kext there is also AppleALC.kext as description says its Native macOS HD audio for not officially supported codecs

so maybe with download script as Lilu.kext you should also include AppleALC.kext for HP laptops that have Microsoft HD Audio actually Realtek HD Audio it really fixes the codec audio problem

Please Help As no one is

Hi , I have an HP Laptop
Model - AY513TX
Audio Codec according to Linux Dump : ALC 3227

I was trying to patch DSDT for Audio Fix
What I have done :

Pressed F4 on clover
Went to acpi origin folder copied All DSDT and SSDT .aml Files to a desktop folder called Test
opned terminal in that folder i.e. test
also had refs.txt whic were not blank
disassembled with terminal command : iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml
now went on opened the maci asl and opened the dsdt.dsl in it
clicked on patch selected your laptop patch layout id 3 fix (had already set the laptop patrches link in preferences)

now apply then close

then i clicked compile i got mdbg error
and now no one is answering how to solve this

i also tried with refs.txt without the -da argument same error

i also tried without refs with -da argument it yielded aeg1 error so removed the complete "if" block then compiled and got 0 errors and 165 warnings anyways saved this one as dsdt.aml in patched folder and rebooted still got no audio

i also tried without refs.txt and without -da argument got aeg1 error as previous upon ermoving if block i got 2 more errors hence was of no use

so now i want to know how to fix my audio and which is the right command to disassemblt first:

1.iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml
2.iasl -dl -fe refs.txt DSDT.aml SSDT*.aml
3.iasl -da -dl DSDT.aml SSDT*.aml
4.iasl -de DSDT.aml SSDT*.aml

which one and after i get error do i remove them or do something else
what to do with mdbg errors etc.

please help me rehabman no one has helped and i have to get audio working
it's been few weeks i have been regularly trying multiple things

please help me for once and all

🙏

about Screen flicker

device: hp 820 g1 with haswell 4600u
os: macOS_10.13.6

after installing complete,i patch macOS with code from this project.

when backlight turns max, it works usual,
but if not ,I found that screen flickers unusual when I take video with my iPhone,
this dose happens on windows 10 or Debian stretch.

that make eyes tired, and i'm sorry for my broken English...

abc$ kextstat| grep -i fake
15 0 xxxx org.netkas.driver.FakeSMC (1787) xxxx <11 7 5 4 3 1>
60 1 xxxx org.rehabman.driver.FakePCIID (1.3.12) xxxx <12 7 5 4 3 1>
61 0 xxxx org.rehabman.driver.FakePCIID.XHCIMux (1.3.12) xxxx <60 12 7 5 4 3 1>

abc$ kextstat | grep -i Graphics
17 0 xxxx as.lvs1974.IntelGraphicsFixup (1.2.7) xxxx <16 12 7 5 4 3 2 1>
82 15 xxxx com.apple.iokit.IOGraphicsFamily (519.20) xxxx <12 7 5 4 3 1>
94 5 xxxx com.apple.AppleGraphicsDeviceControl (3.20.13) xxxx <82 12 7 6 5 4 3 1>
109 0 xxxx com.apple.driver.AppleIntelHD5000Graphics (10.3.6) xxxx <93 92 82 12 7 6 5 4 3 1>
124 1 xxxx com.apple.driver.AppleGraphicsControl (3.20.13) xxxx <7 5 4 3 1>
125 0 xxxx com.apple.driver.AppleGraphicsDevicePolicy (3.20.13) xxxx <124 94 82 12 11 7 6 5 4 3 1>

acpidump

dear rehabman,

Just signed up for gitHub i.e. I am a super-noob so please tolerate my noobness.

I wanted to bring a couple of issues to your notice:

  1. the acpidump method is not working, to be specific it claims there is no option -t when i type

sudo acpidump -b -t DSDT -o dsdt.aml

the help in my terminal showed no -t option but in the ubuntu man-pages show a : -t, --table DSDT option. I will do a little of my own research and get back to you.

  1. Tell me if I got it right : If i use the DSDT=No boot flag and then open MaciASL the raw DSDT is already loaded and I don't need to extract anything I can start patching, right ?

I was really confused by that part.

  1. I am working with a HP pavilion dv6-6128nr (sandy-bridge i5 with hd 3000 bios:F.1B ) and I am assuming the "ProBook 4x40s Sandy Bridge" is an appropriate patch.

when I try to save my raw DSDT I get the error "_HID suffix must be all hex digits" which I solve by changing ABCDEFGH to ABCDEF00

Then when I apply only the sandy bridge patch I get this error " 2579, 6126, syntax error, unexpected '}' "

the code around this line is (error is on the line with the closing curly brace) :

               Method (_Q20, 0, NotSerialized)  // _Qxx: EC Query
                {
                    Store (0x20, IO80)
                    _Q1F ()
                    Sleep (0x14)
                    Notify (
                }

notice how Notify is incomplete.

I went back to my raw DSDT and in almost the same location I found this :

                Method (_Q20, 0, NotSerialized)  // _Qxx: EC Query
                {
                    Store (0x20, IO80)
                    _Q1F ()
                    Sleep (0x14)
                    Notify (\_TZ.THRM, 0x80)
                }

I tried completing the Notify command from here but that just resulted in a big mess.
screen shot 2016-08-20 at 12 35 38 pm

my raw DSDT from Linux cat method:
ori_dsdt.aml.zip

Broken USB and Bluetooth on 4530s with 10.11 Public Beta 1

Only one of the four USB ports work, the console is being filled up with:

10.07.2015 14:20:03,574 blued[81]: Host controller terminated
10.07.2015 14:20:03,578 blued[81]: INIT -- Host controller is published
10.07.2015 14:20:04,348 blued[81]: hciControllerOnline; HID devices? 0
10.07.2015 14:20:04,354 blued[81]: INIT -- Host controller is published
10.07.2015 14:20:04,000 kernel[0]: IOath3kfrmwr: Version 1.2.0 starting
10.07.2015 14:20:04,000 kernel[0]: 000059.051460 IOUSBHostDevice@1d160000: AppleUSBDevice::ResetDevice: <software attempt to RESET>
10.07.2015 14:20:04,000 kernel[0]: org_rehabman_IOath3kfrmwr(<ptr>)::start - failed to reset the device
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0x9000 ****
10.07.2015 14:20:04,000 kernel[0]: [IOBluetoothFamily][staticBluetoothTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0x9000 
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][InterruptReadHandler] -- Default case -- interrupt pipe inStatus = 0xE00002BC (kIOReturnError)
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][InterruptReadHandler] -- failed to post another Read on the interrupt pipe -- error (0xE0005000 (kUSBHostReturnPipeStalled)) queueing next read.
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][ReEnumerateOrResetThreadEntry] -- entering -- param0 = 0x9000, param1 = 0x0001 -- 0x9000
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][DoDeviceReset] -- thread_call_enter1 (mReEnumerateOrResetThread) -- reEnumerateOrReset = 1 (ReEnumerate Module) --  returned FALSE -- 0x9000 ****
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][ReEnumerateOrReset] -- entering -- reEnumerateOrResetIn = 1 (ReEnumerate Module) -- this = 0x9000 ****
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][ReEnumerateOrReset] -- in our workloop -- 0x9000 ****
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][ReEnumerateOrReset] -- parameter is valid -- 0x9000 ****
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][ReEnumerateOrReset] -- reEnumerateOrReset = 1 (ReEnumerate Module) -- 0x9000 ****
10.07.2015 14:20:04,000 kernel[0]: [IOBluetoothHostControllerUSBTransport][ReEnumerateOrReset] -- mBluetoothUSBHub->reset() calling reset Hub  -- gEnumerateCounter = 1 
10.07.2015 14:20:04,000 kernel[0]: 000059.060948 HP HD Webcam [Fixed]@1d140000: IOUSBHostDevice::getDescriptorGated: type 0x02 index 0 length 1002 completed with 0xe00002ed and bytesTransferred 192
10.07.2015 14:20:04,000 kernel[0]: 000059.061220 HP HD Webcam [Fixed]@1d140000: IOUSBHostDevice::getDescriptorGated: type 0x02 index 0 length 9 completed with 0xe00002ed and bytesTransferred 0
10.07.2015 14:20:04,000 kernel[0]: 000059.061467 HP HD Webcam [Fixed]@1d140000: IOUSBHostDevice::getDescriptorGated: type 0x02 index 0 length 9 completed with 0xe00002ed and bytesTransferred 0
10.07.2015 14:20:04,892 UserEventAgent[38]: assertion failed: 15A215h: com.apple.telemetry + 27139 [B860F29C-516D-361C-98AE-1D225A3F406D]: 0xffffffffe00002be
10.07.2015 14:20:04,000 kernel[0]: 000059.061732 HP HD Webcam [Fixed]@1d140000: IOUSBHostDevice::getDescriptorGated: type 0x02 index 0 length 9 completed with 0xe00002ed and bytesTransferred 0
10.07.2015 14:20:04,000 kernel[0]: 000059.061746 AppleUSBHostCompositeDevice@: AppleUSBHostCompositeDevice::ConfigureDevice: unable to set a configuration (0xe00002ed)
10.07.2015 14:20:04,000 kernel[0]: 000059.061981 HP HD Webcam [Fixed]@1d140000: IOUSBHostDevice::getDescriptorGated: type 0x02 index 0 length 9 completed with 0xe00002ed and bytesTransferred 0
10.07.2015 14:20:04,000 kernel[0]: [IOBluetoothHostControllerUSBTransport][ReEnumerateOrReset] -- mBluetoothUSBHub->reset() error = 0x0000 (kIOReturnSuccess)
10.07.2015 14:20:04,000 kernel[0]: [IOBluetoothHostControllerUSBTransport][ReEnumerateOrReset] -- exit; error = 0x0000 (kIOReturnSuccess)
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][ReEnumerateOrResetThreadEntry] -- exiting -- 0x9000
10.07.2015 14:20:04,000 kernel[0]: Bluetooth: Adaptive Frequency Hopping is not supported.
10.07.2015 14:20:04,000 kernel[0]: [IOBluetoothHostController::setConfigState] calling registerService
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothFamily][ProcessBluetoothTransportShowsUpActionWL] -- calling IOBluetoothFamily's registerService() -- 0xd030 -- 0xa200 -- 0x9000 ****
10.07.2015 14:20:04,000 kernel[0]: **** [IOBluetoothFamily][ProcessBluetoothTransportShowsUpActionWL] -- Connected to the transport successfully -- 0xd030 -- 0xa200 -- 0x9000 ****

and it repeats itself indefinitely.
I did a clean install of El Capitan Public Beta 1 and used the latest HP Probook Installer (6.3.5.5) on it.

I've seen that there has been some changes introduced into the USB stack in El Capitan, I've also noticed that you've updated your Lenovo U430 with relevant fixes. Could you please take a look into this?

about elitebook 1050g1 hotpatch

Hey, rehabman, after testing the elitebook 1050g1;
 Graphics:UHD6300 inject ID:3E9B0000
Sound card: CX8400, inject applealc ID 12
Hope you mod 1050g1 hotpatch,Thanks.

iTunes key controller

Hi I hade Hp 840 G1 (key87) that have iTunes key shortcuts.
I replace to Hp 840 G3 (key102) that is not have iTunes key shortcuts.
How can I make shortcuts to Play/pause and more?

install_downloads.sh filas on Fusion drive setup

Installing HPFanReset.efi to Error: volume / is not on GPT disk/EFI/CLOVER/drivers64UEFI
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory

I know which disk to manually mount etc. just don't know how you might want to handle that case before I create pull request options.
(Oh yes, I've replaced my DVD with a hdd/ssd caddy to be able to setup the Fusion drive)

You can extract DSDT directly from DSDT Editor under OS X

Cf your wiki https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch/wiki/How-to-patch-your-DSDT
You say that you need to extract the DSDT under Linux or Windows. Well you can extract DSDT directly from DSDT Editor under OS X. You don't need to install/reboot under Linux or Windows. Everything can be done under OS X.

Btw I wrote a few lines of Ruby code (works out of the box on any Mac) that concats the original patches provided by DSDT Editor and http://olarila.com/
See https://github.com/tkrotoff/ASUS-P5E3Premium-Hackintosh/blob/master/concat_dsdt_patches.rb
Thus you don't need to edit each individual patch to append ; at the end.

Trackpad not working in OSX after following guide

Hello, I cannot get my trackpad to work after following the guide twice. It just started happening out of nowhere and since then I have completely re-formatted the drive and the EFI and reinstalled OSX but it is still not working. I have no idea whats going on- but I do know the trackpad works in the clover screen, so it is not broken.

Please assist me in this matter, it will be greatly appreciated

-outlassn

Edit: I am running a HP Probook 450 G2.

After 2017 April Apple OSX update, HP Elitebook 2170p boots to black screen

During boot process, Intel HD4000 driver is beeing run, then the screen dims rapidly and goes totally black - the backlight is turned off.
After some investigation - the problem is with IntelBacklight.kext. Deleting this module on the said Elitebook 2170p resolves the issue completely, moreover, the brightness slider and keys work properly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.