tb_lc_set_wake(9)
π tb_lc_set_wake β the Kernel API Manual, bestie edition π
okay so this is tb_lc_set_wake(9), a page from the Kernel API Manual, and it's literally about flipping the wake bits on your Thunderbolt switch. short page, big main-character energy. let's go π«Ά
β¨ NAME β¨
tb_lc_set_wake β Enable/disable wake πΈ
β¨ SYNOPSIS β¨
int tb_lc_set_wake (struct tb_switch *sw , unsigned int flags );
β¨ ARGUMENTS β¨
swβ the switch whose wakes you're configuring π (yes, whose wakes, that's the actual wording and we're keeping it)flagsβ the wakeup flags. pass0to disable, periodt π
β¨ DESCRIPTION β¨
ngl this one's short and sweet: for each LC, it sets the wake bits accordingly. that's it, that's the whole description. it's giving one-line icon π
β¨ RETURN β¨
0on success π- a negative
errnootherwise π
β¨ SEE ALSO β¨
first up, the kernel file this lives in: ./drivers/thunderbolt/lc.c β that's the address, don't lose it π¦
and here's the whole friend group, all the siblings you should also go read:
tb_lc_read_uuid(9)tb_lc_reset_port(9)tb_lc_configure_port(9)tb_lc_unconfigure_port(9)tb_lc_configure_xdomain(9)tb_lc_unconfigure_xdomain(9)tb_lc_start_lane_initialization(9)tb_lc_is_clx_supported(9)tb_lc_is_usb_plugged(9)tb_lc_is_xhci_connected(9)tb_lc_xhci_connect(9)tb_lc_xhci_disconnect(9)tb_lc_set_sleep(9)tb_lc_lane_bonding_possible(9)tb_lc_dp_sink_query(9)tb_lc_dp_sink_alloc(9)tb_lc_dp_sink_dealloc(9)tb_lc_force_power(9)
that's eighteen (18) whole functions, no cap, all of them one man call away π
π« cute sign-off: this page came from ./drivers/thunderbolt and it's dated October 2026. stay hydrated, read your manpages, slay β¨π§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms