You are not logged in.

#1 2025-07-07 12:46:32

ZayanMA
Member
Registered: 2025-07-07
Posts: 1

Setting up Waking From Sleep on KDE

Hello,

I have a Lenovo ThinkPad X1 Carbon Gen 10, I wanted to setup KDE to be able to wake up from sleep, at the moment it only wakes up by pressing the power button but I want input from keyboard and touchpad to do the same.
I was previously using Hyprland where it just worked.

What I tried:
set these to enabled: /sys/bus/usb/devices/*/power/wakeup
From this I found that "/sys/bus/usb/devices/usb3/power/wakeup" worked but it also allowed every device to turn it on, so even a little shake with the lid closed would wake the laptop.


This is the response from "cat /proc/acpi/wakeup', not sure how to decipher what device is what though.

Device  S-state   Status   Sysfs node
PEG0      S4    *enabled   pci:0000:00:06.0
PEGP      S4    *disabled  pci:0000:04:00.0
PEG1      S4    *disabled
PEGP      S4    *disabled
PEG2      S4    *disabled
PEGP      S4    *disabled
XHCI      S3    *disabled  pci:0000:00:14.0
XDCI      S4    *disabled
HDAS      S4    *disabled  pci:0000:00:1f.3
CNVW      S4    *disabled  pci:0000:00:14.3
RP01      S4    *disabled
PXSX      S4    *disabled
RP02      S4    *disabled
PXSX      S4    *disabled
PXSX      S4    *disabled
RP04      S4    *disabled
PXSX      S4    *disabled
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    *disabled
PXSX      S4    *disabled
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
RP21      S4    *disabled
PXSX      S4    *disabled
RP22      S4    *disabled
PXSX      S4    *disabled
RP23      S4    *disabled
PXSX      S4    *disabled
RP24      S4    *disabled
PXSX      S4    *disabled
TXHC      S4    *disabled  pci:0000:00:0d.0
TDM0      S4    *enabled   pci:0000:00:0d.2
TDM1      S4    *enabled   pci:0000:00:0d.3
TRP0      S4    *enabled   pci:0000:00:07.0
PXSX      S4    *disabled
TRP1      S4    *disabled
PXSX      S4    *disabled
TRP2      S4    *enabled   pci:0000:00:07.2
PXSX      S4    *disabled
TRP3      S4    *disabled
PXSX      S4    *disabled
AWAC      S4    *enabled   platform:ACPI000E:00
SLPB      S3    *enabled   platform:PNP0C0E:00
LID       S4    *enabled   platform:PNP0C0D:00

From 'cat /proc/bus/input/devices', I found my touchpad and keyboard:

I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input3
U: Uniq=
H: Handlers=sysrq kbd leds event3 
B: PROP=0
B: EV=120013
B: KEY=402000002 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0018 Vendor=06cb Product=ceb2 Version=0100
N: Name="SYNA8017:00 06CB:CEB2 Touchpad"
P: Phys=i2c-SYNA8017:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-SYNA8017:00/0018:06CB:CEB2.0001/input/input18
U: Uniq=
H: Handlers=event9 mouse1 
B: PROP=5
B: EV=1b
B: KEY=e520 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20

But Im not sure what I can do with that now.

Last edited by ZayanMA (2025-07-07 12:48:14)

Offline

Board footer

Powered by FluxBB