You are not logged in.
Pages: 1
Hi everybody,
My dell laptop is waking up immediately after a sleep command.
I already read some topics and the wiki, but I did not find the solution
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
RP01 S4 *disabled pci:0000:00:1c.0
PXSX S4 *disabled
RP02 S4 *disabled pci:0000:00:1c.1
PXSX S4 *disabled pci:0000:05:00.0
*disabled platform:rtsx_pci_sdmmc.0
*disabled platform:rtsx_pci_ms.0
RP03 S4 *disabled pci:0000:00:1c.2
PXSX S4 *disabled pci:0000:06:00.0
RP04 S4 *disabled pci:0000:00:1c.3
PXSX S4 *disabled pci:0000:07:00.0
RP05 S4 *disabled pci:0000:00:1c.4
PEGP S4 *disabled pci:0000:08:00.0
PEGA S4 *disabled
RP06 S4 *disabled
PXSX S4 *disabled
RP07 S4 *disabled
PXSX S4 *disabled
RP08 S4 *disabled
PXSX S4 *disabled
EHC1 S0 *enabled pci:0000:00:1d.0
XHC S0 *enabled pci:0000:00:14.0
TPD7 S0 *disabled
TPD8 S0 *disabled
HDEF S4 *disabled pci:0000:00:1b.0
LID0 S3 *enabled platform:PNP0C0D:00If I do this "echo XHC > /proc/acpi/wakeup"
My sleep works correctly
I try to add this service to systemd:
[Unit]
Description=Disable USB wakeup triggers in /proc/acpi/wakeup
[Service]
Type=oneshot
ExecStart=/bin/sh -c "echo XHC > /proc/acpi/wakeup"
ExecStop=/bin/sh -c "echo XHC > /proc/acpi/wakeup"
RemainAfterExit=yes
[Install]
WantedBy=multi-user.targetWhen I reboot the system and check the wakeup stats, i see that XHC are disabled, but when I run a sleep comand, it does not work (instant wakeup)
My sleep only works when I manually change the XHC status to disabled.
Anyone can help me? Thanks to all.
Offline
The thing is a toggle but your service toggles on start AND stop… so probably you're simply re-enabling it at some point (after looking at it)
Also this is likely triggered by just one naughty device. If you can isolate it, see https://wiki.archlinux.org/index.php/Ud … USB_device
In any case you should edit your post and stress that this is not about S3 wakeups, but a systemd service…
Offline
Pages: 1