usbc_security_query(9)
β¨ NAME β¨
okay so bestie, this page is usbc_security_query(9) from the Kernel API Manual, and it's giving βread current USB-C security state via USCS()β π
. that's the whole vibe. no cap, it's literally right there in the name.
π SYNOPSIS π
the signature is exactly this, character for character:
int usbc_security_query (bool *enabled );
πΈ ARGUMENTS πΈ
enabledβ out param, and it'struewhen security is ON (data connections blocked). slay.
π₯ RETURN π₯
0β success, andenabledcontains the current state. periodt.-EIOβ ACPI evaluation failed. oop.-ENODEVβ capability bit absent; feature not present on this SKU* β iykyk.
π¦ SEE ALSO π¦
- Kernel file:
./drivers/platform/x86/lenovo/thinkpad_acpi.cβ the source corner. tpacpi_check_quirks(9)β quirks check bestie.
mwah π signing off from ./drivers/platform/x86/lenovo, dated October 2026, for usbc_security_query(9). bye bestie π«Άβ¨
π¦ 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