ssp_disable_sensor(9)
π ssp_disable_sensor(9) β the Kernel API Manual, bestie edition π
okay so you opened the ssp_disable_sensor page from the Kernel API Manual and honestly? iconic of you. this is the one that shuts a sensor all the way off. let's get into it β¨
πΈ NAME πΈ
ssp_disable_sensor β disables sensor. that's it, that's the whole job. no cap, she's a one-line legend π«Ά
β¨ SYNOPSIS β¨
int ssp_disable_sensor (struct ssp_data *data , enum ssp_sensor_type
type );
like, she takes two things and hands you back an int. simple. clean. slay π
π¦ ARGUMENTS π¦
dataβ the sensorhub structure. yes bestie, that's the whole description, she's the sensorhub structure, that's her whole personality π§typeβ the SSP sensor type. literally telling the function which sensor type you want disabled. iykyk π₯
π DESCRIPTION π
Returns 0 or a negative value in case of error.
that's the tea β like β 0 means we ate, negative means something went sideways, no in-between and no extra lore given π
ngl, this page is lowkey short. the man page said what it said and we're not out here inventing extra behaviour, periodt π
π SEE ALSO π
- the kernel file
./drivers/iio/common/ssp_sensors/ssp_dev.cβ go read her, she's the main character of this whole situation π ssp_get_sensor_delay(9)πΈssp_enable_sensor(9)βssp_change_delay(9)π¦ssp_register_consumer(9)π
okay final sign-off because we always give credit: this page lives under ./drivers/iio/common/ssp_sensors, dated October 2026, and it's ssp_disable_sensor(9) from the Kernel API Manual. obsessed with her, honestly β go disable some sensors responsibly, 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