Temporarily Edit /proc/acpi/wakeup to Disable Wakeup Devices

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
MintyFreshJabber
Level 1
Level 1
Posts: 1
Joined: Fri Nov 29, 2024 3:38 pm

Temporarily Edit /proc/acpi/wakeup to Disable Wakeup Devices

Post by MintyFreshJabber »

Hi all,

I'm trying to use this previous post (viewtopic.php?t=408260) to determine which device is preventing my computer from staying asleep. I tried disabling GPP0 as mentioned in that thread, but it appears that isn't the culprit for my computer. I tried using the same strategy using the command

Code: Select all

sudo sh -c 'echo "XXXX" > /proc/acpi/wakeup
to disable the devices one by one. However, I'm guessing because of my particular motherboard, a lot of the devices have the same name and this is creating a problem.

For example, there is a device in the list called DP00 that shows up twice (I have several DPXX devices). If I use the echo command, it will just disable the first DP00 in the list. If I use the command a second time, it re-enables the first one, of course. Is there a way to use echo that it changes all of them to disabled or will enable me to use the PCI addresses, which are unique? I think I have so many repeats because the DPXX devices look to be PCI bridges for AMD.
Post Reply

Return to “Other topics”