hih6130_temperature_show(9)
okay so welcome to the hih6130_temperature_show(9) entry in the Kernel API Manual π this is the lil page about showing a temperature measurement value in sysfs, and honestly? niche but iconic.
β¨ NAME β¨
hih6130_temperature_show β show temperature measurement value in sysfs. Thatβs the whole assignment, bestie: temperature measurement value, shown in sysfs. periodt.
π SYNOPSIS π
ssize_t hih6130_temperature_show (struct device *dev , struct
device_attribute *attr , char *buf );
π§© ARGUMENTS π§©
devβ device. literally the device, no cap.attrβ device attribute. the attribute in question πbufβ sysfs buffer (PAGE_SIZE) where measurement values are written to. the receipts go here π«Ά
π¬ DESCRIPTION π¬
Will be called on read access to temp1_input sysfs attribute β¨ like, whenever someone reads that attribute, this function gets the call.
Returns number of bytes written into buffer, negative errno on error. so: bytes when itβs eating, negative errno when itβs not giving π
π SEE ALSO π
bestie, go peek at the rest of the squad:
- Kernel file
./drivers/hwmon/hih6130.candstruct hih6130(9) hih6130_temp_ticks_to_millicelsius(9)hih6130_rh_ticks_to_per_cent_mille(9)hih6130_update_measurements(9)hih6130_humidity_show(9)
catch you later bestie π source/version: ./drivers/hwmon; date: October 2026; title: hih6130_temperature_show(9) β signing off with main character energy ππ
π¦ 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