If the jumper goes to a controller which control the lines instead of going directly to the lines, and the controller exposes it, then this could help.
I don't have my hopes really high either, but the worst that can happen is confirming there is no way to detect it.
This is the script I intend to use:
# Variables I'd set outside of the script
SETTING=5v|5vsb
SETNAME=after-mechoff+warm|after-mechoff|after-mechoff+s2r|after-mechoff+softoff
If the jumper goes to a controller which control the lines instead of going directly to the lines, and the controller exposes it, then this could help.
I don't have my hopes really high either, but the worst that can happen is confirming there is no way to detect it.
This is the script I intend to use:
# Variables I'd set outside of the script after-mechoff+ warm|after- mechoff| after-mechoff+ s2r|after- mechoff+ softoff
SETTING=5v|5vsb
SETNAME=
# Actualy script $BASEDIR/ $SETTING/ $SETNAME text/dmidecode. txt text/lspci- nnvvvv. txt binary/ lspci-vmm. txt text/lspci- Mnnvvvv. txt binary/ lspci-Mvmm. txt text/dmesg. txt text/lsusb- v.txt text/hwinfo. txt text/acpi. txt text/proc- acpi-wakeup. txt
$BASEDIR=$HOME
DIRNAME=
mkdir -p $DIRNAME/binary
mkdir -p $DIRNAME/text
mkdir -p $DIRNAME/sys
mount -t debugfs debugfs /sys/kernel/debug
dmidecode > $DIRNAME/
lspci -nnvvvv > $DIRNAME/
lspci -vmm > $DIRNAME/
lspci -Mnnvvvv > $DIRNAME/
lspci -Mvmm > $DIRNAME/
dmesg > $DIRNAME/
lsusb -v > $DIRNAME/
hwinfo > $DIRNAME/
acpi -V > $DIRNAME/
cat /proc/acpi/wakeup > $DIRNAME/
cp -a /sys > $DIRNAME/
Then a lot of diffing.