Sleep and external display - Are there any options?
#7
(09-02-2023, 06:35 PM)wdt Wrote: >The Pinebook Pro wakes up from suspend to memory in the moment it gets connected to external power or unconnected from external power.
in /etc/rc.local
echo disabled  > /sys/devices/platform/dc-charger/power/wakeup

Great!

Dude, you still live in the 1980s. Nowadays, udev is the way to go. Here is my udev rule:

Code:
$ cat /etc/udev/rules.d/90-powersupply.rules
SUBSYSTEM=="power_supply", ACTION=="add", RUN+="/bin/sh -c 'echo disabled > /sys/devices/platform/dc-charger/power/wakeup'"
  Reply


Messages In This Thread
RE: Sleep and external display - Are there any options? - by Der Geist der Maschine - 09-03-2023, 09:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  No external monitorvia USB-C over Dockingstation bnjmnhg 14 3,296 11-28-2023, 01:35 PM
Last Post: zaius
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 983 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,584 08-31-2023, 04:20 PM
Last Post: TRS-80
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,320 12-09-2022, 12:43 PM
Last Post: as365n4
  How to make manjaro sleep or hibernate? KDE? regretfulpineuser 0 1,013 06-20-2022, 12:56 AM
Last Post: regretfulpineuser
  Garbled display with kernels 5.15 and 5.14 schwarzwieweiss 4 3,276 11-07-2021, 06:30 AM
Last Post: schwarzwieweiss
  reset sound after suspend to memory (deep sleep) Der Geist der Maschine 16 17,315 10-18-2021, 07:31 PM
Last Post: Syonyk
Question External display doesn't work in TwisterOS (Armbian) TDC_PBP 0 1,574 08-21-2021, 02:46 PM
Last Post: TDC_PBP
  External USB C Monitor not working altacus 29 39,107 08-08-2021, 10:19 AM
Last Post: Dendrocalamus64
Question Help: Pinebook Pro will not enter sleep [Manjaro 20.04] EverythingIsInput 49 65,445 05-07-2021, 06:21 AM
Last Post: line72

Forum Jump:


Users browsing this thread: 1 Guest(s)