You are not logged in.

#1 2017-02-27 03:42:37

tlalexan
Member
Registered: 2017-02-27
Posts: 1

Macbook pro backlight frequently lights while lid closed, sleeping

I've got an early 2016 MacBook pro. 

$ cat /sys/devices/virtual/dmi/id/board_vendor 
Apple Inc.
$ cat /sys/devices/virtual/dmi/id/board_version 
MacBookPro11,4

For months when closing the lid the backlight would turn on for one or two seconds and then turn off.

I've identified the problem, but I only know how to fix it until the next reboot

there seem to be ACPI flags that control wake from sleep. 

$ cat /proc/acpi/wakeup
Device	S-state	  Status   Sysfs node
PEG0	  S3	*disabled  pci:0000:00:01.0
PEG1	  S3	*disabled  pci:0000:00:01.1
PEG2	  S3	*disabled
EC	  S4	*disabled  platform:PNP0C09:00
GMUX	  S3	*disabled  pnp:00:03
HDEF	  S3	*disabled  pci:0000:00:1b.0
RP03	  S3	*disabled  pci:0000:00:1c.2
ARPT	  S4	*enabled   pci:0000:03:00.0
RP04	  S3	*disabled  pci:0000:00:1c.3
XHC1	  S3	*enabled   pci:0000:00:14.0
ADP1	  S4	*disabled  platform:ACPI0003:00
LID0	  S4	*enabled   platform:PNP0C0D:00

What I want is only the lid flag to be enabled.

$ echo 'ARPT' > /proc/acpi/wakeup
$ echo 'XHC1' > /proc/acpi/wakeup
$ cat /proc/acpi/wakeup
Device	S-state	  Status   Sysfs node
PEG0	  S3	*disabled  pci:0000:00:01.0
PEG1	  S3	*disabled  pci:0000:00:01.1
PEG2	  S3	*disabled
EC	  S4	*disabled  platform:PNP0C09:00
GMUX	  S3	*disabled  pnp:00:03
HDEF	  S3	*disabled  pci:0000:00:1b.0
RP03	  S3	*disabled  pci:0000:00:1c.2
ARPT	  S4	*disabled  pci:0000:03:00.0
RP04	  S3	*disabled  pci:0000:00:1c.3
XHC1	  S3	*disabled  pci:0000:00:14.0
ADP1	  S4	*disabled  platform:ACPI0003:00
LID0	  S4	*enabled   platform:PNP0C0D:00

And then my battery doesn't drain in a few hours and the backlight doesn't flash on and off.

Does anyone know the correct way to make this change permanent?

Thanks!

Offline

Board footer

Powered by FluxBB