Jump to content
kai wang

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

Recommended Posts

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

Link to comment
Share on other sites

  • Administrators

ur processor is coffelake or kabylake?

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

:guitar

Problems with Paypal Donate? Check HERE

Donated? Send me PM with files or use DSDT Patch Requests

6y0Bvfl.png

Link to comment
Share on other sites

  • Administrators

for cfl use 0x13

 Name (_UID, 0x13)

 

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

:guitar

Problems with Paypal Donate? Check HERE

Donated? Send me PM with files or use DSDT Patch Requests

6y0Bvfl.png

Link to comment
Share on other sites

  • Administrators
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

 

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

:guitar

Problems with Paypal Donate? Check HERE

Donated? Send me PM with files or use DSDT Patch Requests

6y0Bvfl.png

Link to comment
Share on other sites

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...
The popup will be closed in 15 seconds...