You are not logged in.

#1 2021-11-20 00:39:31

svartkanin
Member
Registered: 2021-11-20
Posts: 10

laptop wakes up automatically with thunderbolt dock

I got a Thinkpad T580 with a TS3 connect to it. When I don't have the TS3 connected and close the laptop lid it goes to sleep fine. However, when the TS3 is connected then the laptop goes to sleep on the lid close but a couple of seconds later wakes up automatically again. I've disabled wak-on thunderbolt in the BIOS.

Here's the configurations for the `/etc/systemd/logind.conf`

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#HandleRebootKey=reboot
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodes=400k
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192

This is the output from the acpid_listen

button/lid LID close
jack/lineout LINEOUT unplug
jack/videoout VIDEOOUT unplug
jack/lineout LINEOUT plug
jack/videoout VIDEOOUT plug
ibm/hotkey LEN0268:00 00000080 00006032
jack/lineout LINEOUT unplug
jack/videoout VIDEOOUT unplug
jack/lineout LINEOUT plug
jack/videoout VIDEOOUT plug

and

$ grep . /sys/bus/usb/devices/*/power/wakeup
/sys/bus/usb/devices/1-1/power/wakeup:disabled
/sys/bus/usb/devices/1-3/power/wakeup:disabled
/sys/bus/usb/devices/1-7/power/wakeup:disabled
/sys/bus/usb/devices/1-9/power/wakeup:disabled
/sys/bus/usb/devices/2-3/power/wakeup:disabled
/sys/bus/usb/devices/3-2/power/wakeup:disabled
/sys/bus/usb/devices/usb10/power/wakeup:disabled
/sys/bus/usb/devices/usb11/power/wakeup:disabled
/sys/bus/usb/devices/usb12/power/wakeup:disabled
/sys/bus/usb/devices/usb1/power/wakeup:disabled
/sys/bus/usb/devices/usb2/power/wakeup:disabled
/sys/bus/usb/devices/usb3/power/wakeup:disabled
/sys/bus/usb/devices/usb4/power/wakeup:disabled
/sys/bus/usb/devices/usb5/power/wakeup:disabled
/sys/bus/usb/devices/usb6/power/wakeup:disabled
/sys/bus/usb/devices/usb7/power/wakeup:disabled
/sys/bus/usb/devices/usb8/power/wakeup:disabled
/sys/bus/usb/devices/usb9/power/wakeup:disabled

I suspect the TS3 is sending some ping to wake the laptop. Is there a way to disable that?

Offline

Board footer

Powered by FluxBB