Linux Adding Wake-On-Connect/Disconnect For USB4 Ports

Written by Michael Larabel in Hardware on 15 November 2022 at 05:32 AM EST. 12 Comments
HARDWARE --
To the USB4/Thunderbolt driver in the Linux kernel Intel is adding support for system wake on connect/disconnect.

When the system is run-time suspended, Intel has queued up a patch for allowing optional wake-on-connect or wake-on-disconnect.

This feature is optional and disabled by default. Additionally, as it doesn't make sense to necessarily wake the system for all USB4/Thunderbolt hot-plug events, the patch allows toggling the feature on a per-port basis. Under sysfs for the USB4 ports there is a new "wakeup" attribute for each port that can be optionally set to "enabled" if wanting to wake-up the system from run-time suspend on hotplug connect/disconnect events.

This Linux kernel support for USB4 wake-on-connect/disconnect is coming via this patch currently queued in the Thunderbolt's "next" branch ahead of the Linux 6.2 merge window next month.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week