Jump to content

Dell 5491: failed to add patch via Maciasl.app for adjust screen brightness


Recommended Posts

Posted

Hello ,

below is detail hardware configure for laptop dell 5491.

  • Bios: 1.11.1
  • CPU: i5-8300H @2.3G
  • Memory: 8G DDR4 2666MHZ
  • Mainboard: DELL 0NFNN4 (CM246 Chipsets)
  • SSD: Toshiba 256G NVME (primary)
  • HDD: SATA ST1000LM049 (second)
  • Sound: Realtek ALC256
  • Lan: Intel I219LM7
  • Wireless/Bluetooth: Qualcomm QCA61X4A 802.11AC
  • TrackPad Hardware ID : ACPI\VEN_DELL&DEV_0818 (I2C HID )

I has been completely install Catalina 10.15.4 on my laptop .

I want add adjust screen brightness function into my laptop via add patch into dsdt.aml .

Frist i got dsdt.aml file on clover start menu via press FN+F4 , then i got dsdt.dsl file via type command " tonykai@MacBook-Pro acpi % iasl -da -dl *.aml " on terminal .

final , i add blow patch into dsdt.aml file via Maciasl.app , but system showed a error information to me " input file does not appear to be an ASL or data table source file " when execute compile . 

below is patch content .

#Maintained by: RehabMan for: Laptop Patches
#graphics_PNLF.txt

# This patch enables the brightness slider in SysPrefs->Displays
# and will also enable activation of sleep mode by closing
# the laptop lid.

# This patch is a “basic” PNLF patch and doesn’t attempt
# to fix various common problems with the backlight control.
#
# For advanced patches, see:
# graphics_PNLF_ivy_sandy.txt
# graphics_PNLF_haswell.txt
#

into_all device label PNLF remove_entry;
into definitionblock code_regex . insert
begin
Scope (_SB)\n
{\n
Device (PNLF)\n
{\n
Name (_ADR, Zero)\n
Name (_HID, EisaId (“APP0002”))\n
Name (_CID, “backlight”)\n
Name (_UID, 10)\n
Name (_STA, 0x0B)\n
}\n
}\n
end;

# to avoid conflict with root scope PNLF
into_all method code_regex Store\s+\(PNLF,\s+(.*)\) replaceall_matched begin Store(\\PNLF, %1) end;

 

By the way ,

attachment is error information photo and my dsdt.aml file and current config.plist file.

Please help me and give some suggestions .

Thank you .

 

acpi.zip error_edit_dsdt2.jpg.zip config.plist.zip

  • Administrators
Posted

ur processor is coffelake or kabylake?

-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 Hackintosh Support since 2006 HERE

  • Administrators
Posted

for cfl use 0x13

 Name (_UID, 0x13)

 

-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 Hackintosh Support since 2006 HERE

Posted

Hello ,

What is this  words ( for cfl use 0x13 ) means ?  i haven't find any relevant parameter for cfl on clover .

Sorry ,I am beginner for use maciasl app to add patch .

 

  • Administrators
Posted
into_all device label PNLF remove_entry;
into scope label _SB insert
begin
Device (PNLF)\n
        {\n
            Name (_HID, EisaId ("APP0002"))  // _HID: Hardware ID\n
            Name (_CID, "backlight")  // _CID: Compatible ID\n
            Name (_UID, 0x13)  // _UID: Unique ID\n
            Name (_STA, 0x0B)  // _STA: Status\n
        }\n
end

 

-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 Hackintosh Support since 2006 HERE

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...