You are not logged in.

#1 2021-02-24 17:27:30

tuman366
Member
Registered: 2021-01-18
Posts: 9

When the lid remains open, how can I wake up my l-p by a key?

Xfce4

When the lid remains open and a laptop is asleep, I want, rather than pressing the Power button, be able to wake it up by pressing Enter or Whitespace. How?

Offline

#2 2021-02-25 03:27:04

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: When the lid remains open, how can I wake up my l-p by a key?

tuman366 wrote:

Xfce4

When the lid remains open and a laptop is asleep, I want, rather than pressing the Power button, be able to wake it up by pressing Enter or Whitespace. How?

Im guessing you mean wake from suspend, if somehow the hardware doesn’t allow wake from keyboard then that’s a problem...does the firmware menu shows something for configuring that?


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-02-25 06:51:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,552

Re: When the lid remains open, how can I wake up my l-p by a key?

cat /proc/acpi/wakeup

But notebooks have a tendency to not allow to wake on random keys because those are prone to be triggered by compression.

Offline

#4 2021-02-28 21:00:37

tuman366
Member
Registered: 2021-01-18
Posts: 9

Re: When the lid remains open, how can I wake up my l-p by a key?

GaKu999 wrote:
tuman366 wrote:

Xfce4

When the lid remains open and a laptop is asleep, I want, rather than pressing the Power button, be able to wake it up by pressing Enter or Whitespace. How?

Im guessing you mean wake from suspend, if somehow the hardware doesn’t allow wake from keyboard then that’s a problem...does the firmware menu shows something for configuring that?

On my previous laptop with Arch Linux, and of the same brand, it was possible. I don't remember how I did it.

Offline

#5 2021-02-28 21:01:15

tuman366
Member
Registered: 2021-01-18
Posts: 9

Re: When the lid remains open, how can I wake up my l-p by a key?

$ cat /proc/acpi/wakeup
Device	S-state	  Status   Sysfs node
PEG0	  S4	*disabled
PEGP	  S4	*disabled
PEG1	  S4	*disabled
PEGP	  S4	*disabled
PEG2	  S4	*disabled
PEGP	  S4	*disabled
GLAN	  S4	*disabled
XHC	  S4	*enabled   pci:0000:00:14.0
XDCI	  S4	*disabled
HDAS	  S4	*disabled  pci:0000:00:1f.3
RP01	  S4	*enabled   pci:0000:00:1c.0
PXSX	  S4	*disabled
RP02	  S4	*disabled
PXSX	  S4	*disabled
RP03	  S4	*disabled
PXSX	  S4	*disabled
RP04	  S4	*enabled   pci:0000:00:1c.3
PXSX	  S4	*disabled  pci:0000:03:00.0
RP05	  S4	*disabled
PXSX	  S4	*disabled
RP06	  S4	*disabled
PXSX	  S4	*disabled
RP07	  S4	*disabled
PXSX	  S4	*disabled
RP08	  S4	*disabled
PXSX	  S4	*disabled
RP09	  S4	*enabled   pci:0000:00:1d.0
PXSX	  S4	*disabled  pci:0000:04:00.0
RP10	  S4	*disabled
PXSX	  S4	*disabled
RP11	  S4	*disabled
PXSX	  S4	*disabled
RP12	  S4	*disabled
PXSX	  S4	*disabled
RP13	  S4	*disabled
PXSX	  S4	*disabled
RP14	  S4	*disabled
PXSX	  S4	*disabled
RP15	  S4	*disabled
PXSX	  S4	*disabled
RP16	  S4	*disabled
PXSX	  S4	*disabled
RP17	  S4	*disabled
PXSX	  S4	*disabled
RP18	  S4	*disabled
PXSX	  S4	*disabled
RP19	  S4	*disabled
PXSX	  S4	*disabled
RP20	  S4	*disabled
PXSX	  S4	*disabled
LID	  S4	*enabled   platform:PNP0C0D:00

Offline

#6 2021-02-28 21:19:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,552

Re: When the lid remains open, how can I wake up my l-p by a key?

Device	S-state	  Status   Sysfs node
PEG0	  S4	*disabled
PEGP	  S4	*disabled
PEG1	  S4	*disabled
PEGP	  S4	*disabled
PEG2	  S4	*disabled
PEGP	  S4	*disabled

PCIe/graphics

GLAN	  S4	*disabled

LAN

XHC	  S4	*enabled   pci:0000:00:14.0
XDCI	  S4	*disabled

USB

HDAS	  S4	*disabled  pci:0000:00:1f.3

???

RP01	  S4	*enabled   pci:0000:00:1c.0
PXSX	  S4	*disabled
RP02	  S4	*disabled
PXSX	  S4	*disabled
RP03	  S4	*disabled
PXSX	  S4	*disabled
RP04	  S4	*enabled   pci:0000:00:1c.3
PXSX	  S4	*disabled  pci:0000:03:00.0
RP05	  S4	*disabled
PXSX	  S4	*disabled
RP06	  S4	*disabled
PXSX	  S4	*disabled
RP07	  S4	*disabled
PXSX	  S4	*disabled
RP08	  S4	*disabled
PXSX	  S4	*disabled
RP09	  S4	*enabled   pci:0000:00:1d.0
PXSX	  S4	*disabled  pci:0000:04:00.0
RP10	  S4	*disabled
PXSX	  S4	*disabled
RP11	  S4	*disabled
PXSX	  S4	*disabled
RP12	  S4	*disabled
PXSX	  S4	*disabled
RP13	  S4	*disabled
PXSX	  S4	*disabled
RP14	  S4	*disabled
PXSX	  S4	*disabled
RP15	  S4	*disabled
PXSX	  S4	*disabled
RP16	  S4	*disabled
PXSX	  S4	*disabled
RP17	  S4	*disabled
PXSX	  S4	*disabled
RP18	  S4	*disabled
PXSX	  S4	*disabled
RP19	  S4	*disabled
PXSX	  S4	*disabled
RP20	  S4	*disabled
PXSX	  S4	*disabled

PCI

LID	  S4	*enabled   platform:PNP0C0D:00

The lid smile

Unless the keyboards show up in lspci, the only two contenders could be XDCI and HDAS - writing them into the file like eg.

echo XDCI | sudo tee /proc/acpi/wakeup

will toggle the value.
I think XDCI is a usb debuging feature and enabling it might cause S3 to immediately break.
"HDAS" seems to be some PCB connector and I've no idea what it might be on your specific system.

Offline

Board footer

Powered by FluxBB