thc_wot_config(9)
okay bestie, welcome to thc_wot_config(9) from the Kernel API Manual β this is the wake-on-touch config page and she is iconic π
β¨ NAME β¨
thc_wot_config β query and configure the wake-on-touch feature. That's the whole vibe: query it, configure it, slay β¨
π SYNOPSIS π
void thc_wot_config (struct thc_device *thc_dev , const struct acpi_gpio_mapping *gpio_map );
π ARGUMENTS π
thc_devβ points to thethc_devicestructure πgpio_mapβ points to the ACPI GPIO resource mapping structure π
π¦ DESCRIPTION π¦
okay so here's the situation, bestie: the THC ACPI device only provides _CRS with GpioInt resources. It doesn't contain _DSD to map this GPIO resource. So this function first registers the wake GPIO mapping manually. Then it queries the wake-on-touch GPIO resource from ACPI. If that resource exists and is wake-able, it configures the driver to enable it. Otherwise, it returns immediately β no lingering, no drama π
And because this whole thing doesn't impact major function, this function will not return error. It's giving side-quest energy, not main-plot energy π
π SEE ALSO π
- Kernel file
./drivers/hid/intel-thc-hid/intel-thc/intel-thc-wot.cβ go read the source, iykyk πΈ thc_wot_unconfig(9)β also check out this one π
xoxo, your footer bestie π«Ά β source/version is ./drivers/hid/intel-thc-hid/in..., the date is October 2026, and the page is thc_wot_config(9) π
π¦ 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