Look for 00:07.0 in the lspci output, and you will see it’s:
00:07.0 PCI bridge [0604]: Intel Corporation Device [8086:a76e] (rev 01)
Look for 00:07.0 in the lspci output, and you will see it’s:
00:07.0 PCI bridge [0604]: Intel Corporation Device [8086:a76e] (rev 01)
I have no experience with any other approaches. There is a lengthy discussion at Power management/Wakeup triggers - ArchWiki that may help.
hi, I would like to proceed to disable all the wakeup triggers to see if it solve the suspend that doesn’t works, if it works I’ll then try to detect which is the one that solve the problem.
following what in this:
https://wiki.archlinux.org/title/Power_management/Wakeup_triggers
/sys/class/wakeup/*
Almost all wakeup triggers can be found in the
/sys/class/wakeupdirectory, which contains symlinks to all relevant devices. This is useful for finding possible wakeup triggers by going through subdirectories. Some of the triggers can correspond to virtual devices while hardware-related wakeup triggers are the ones that contain at least one of these files:/sys/class/wakeup//device/physical_node/power/wakeup /sys/class/wakeup//device/power/wakeup
Some of wakeup triggers in
/sys/class/wakeupalso provide a link to the cryptic/proc/acpi/wakeupnames where the following file is present:/sys/class/wakeup/*/device/path
I would start with these files:
pla@plaTW:~> grep . /sys/class/wakeup/*/device/power/wakeup | grep enabled
/sys/class/wakeup/wakeup16/device/power/wakeup:enabled
/sys/class/wakeup/wakeup23/device/power/wakeup:enabled
/sys/class/wakeup/wakeup24/device/power/wakeup:enabled
/sys/class/wakeup/wakeup25/device/power/wakeup:enabled
/sys/class/wakeup/wakeup26/device/power/wakeup:enabled
/sys/class/wakeup/wakeup27/device/power/wakeup:enabled
/sys/class/wakeup/wakeup28/device/power/wakeup:enabled
/sys/class/wakeup/wakeup30/device/power/wakeup:enabled
/sys/class/wakeup/wakeup31/device/power/wakeup:enabled
/sys/class/wakeup/wakeup32/device/power/wakeup:enabled
/sys/class/wakeup/wakeup35/device/power/wakeup:enabled
/sys/class/wakeup/wakeup37/device/power/wakeup:enabled
/sys/class/wakeup/wakeup38/device/power/wakeup:enabled
/sys/class/wakeup/wakeup39/device/power/wakeup:enabled
/sys/class/wakeup/wakeup41/device/power/wakeup:enabled
/sys/class/wakeup/wakeup4/device/power/wakeup:enabled
/sys/class/wakeup/wakeup6/device/power/wakeup:enabled
pla@plaTW:~>
and these:
pla@plaTW:~> grep . /sys/class/wakeup/*/device/physical_node/power/wakeup | grep enabled
/sys/class/wakeup/wakeup10/device/physical_node/power/wakeup:enabled
/sys/class/wakeup/wakeup15/device/physical_node/power/wakeup:enabled
/sys/class/wakeup/wakeup3/device/physical_node/power/wakeup:enabled
/sys/class/wakeup/wakeup40/device/physical_node/power/wakeup:enabled
/sys/class/wakeup/wakeup5/device/physical_node/power/wakeup:enabled
/sys/class/wakeup/wakeup8/device/physical_node/power/wakeup:enabled
/sys/class/wakeup/wakeup9/device/physical_node/power/wakeup:enabled
pla@plaTW:~>
disablin with the suggested command:
# echo "disabled" > /sys/bus/usb/devices/usb1/power/wakeup
I tried with one file and it seems to works:
plaTW:/home/pla # echo "disabled" > /sys/class/wakeup/wakeup6/device/power/wakeup
plaTW:/home/pla # grep . /sys/class/wakeup/*/device/power/wakeup | grep enabled
/sys/class/wakeup/wakeup16/device/power/wakeup:enabled
/sys/class/wakeup/wakeup23/device/power/wakeup:enabled
/sys/class/wakeup/wakeup24/device/power/wakeup:enabled
/sys/class/wakeup/wakeup25/device/power/wakeup:enabled
/sys/class/wakeup/wakeup26/device/power/wakeup:enabled
/sys/class/wakeup/wakeup27/device/power/wakeup:enabled
/sys/class/wakeup/wakeup28/device/power/wakeup:enabled
/sys/class/wakeup/wakeup30/device/power/wakeup:enabled
/sys/class/wakeup/wakeup31/device/power/wakeup:enabled
/sys/class/wakeup/wakeup32/device/power/wakeup:enabled
/sys/class/wakeup/wakeup35/device/power/wakeup:enabled
/sys/class/wakeup/wakeup37/device/power/wakeup:enabled
/sys/class/wakeup/wakeup38/device/power/wakeup:enabled
/sys/class/wakeup/wakeup39/device/power/wakeup:enabled
/sys/class/wakeup/wakeup41/device/power/wakeup:enabled
/sys/class/wakeup/wakeup4/device/power/wakeup:enabled
plaTW:/home/pla #
becouse the /sys/class/wakeup/wakeup6/device/power/wakeup file doesn’t result enabled.
it doesn’t result at all
plaTW:/home/pla # cat /sys/class/wakeup/wakeup6/device/power/wakeup
cat: /sys/class/wakeup/wakeup6/device/power/wakeup: No such file or directory
I tried to enable again it with this command:
plaTW:/home/pla # echo "enabled" > /sys/class/wakeup/wakeup6/device/power/wakeup
bash: /sys/class/wakeup/wakeup6/device/power/wakeup: No such file or directory
plaTW:/home/pla #
but didn’t succeed.
now three questions:
@pier_andreit look at your command… output shows 16, your using 6…
Hi manythanks
is not the first in the list where I say
is the last
/sys/class/wakeup/wakeup6/device/power/wakeup:enabled
@pier_andreit the device goes if disabled AFAIK… I’d be carefull poking around in /sys/ you might get some unexpected consequences…
Check the name (pci id’s) first, but I wouldn’t do what your doing
…
manythanks malcolmlewis
is for what you are saying that I ask here before doing too much mess ![]()
I tried to reboot and
/sys/class/wakeup/wakeup6/device/power/wakeup:enabled
result enabled again, so the answer to the third question, at least for this, is yes
I hope that is the same for all the other files, so after the test I can reboot and all should run well
but could be useful to know how to enable again what I disabled
is quite difficult to check from the filename to pci id
for example for
/sys/class/wakeup/wakeup6/device/power/wakeup
what is pci ids?
@pier_andreit In your example feed cat through lspci note the cat command needs a ` at the beginning and end of name
/sbin/lspci -s cat /sys/class/wakeup/wakeup6/name
it gives me this error
pla@plaTW:~> /sbin/lspci -s cat /sys/class/wakeup/wakeup6/name
lspci: -s: Invalid slot number
pla@plaTW:~> /sbin/lspci -s cat /sys/class/wakeup/wakeup6/device/power/wakeup
lspci: -s: Invalid slot number
pla@plaTW:~> /sbin/lspci -s /sys/class/wakeup/wakeup6/device/power/wakeup
lspci: -s: Invalid slot number
pla@plaTW:~>
manythanks to everybody to have led me to the solution.
the problem was in the kernel parameter, after I added to kernel parameters:
mem_sleep_default=deep
suspend now works like a charm ![]()
this site switch my lamp on
https://www.reddit.com/r/AMDLaptops/comments/lg0knl/comment/ikpwpb8/