Documentation/ABI/testing/sysfs-class-hwmon

Source file repositories/reference/linux-study-clean/Documentation/ABI/testing/sysfs-class-hwmon

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/testing/sysfs-class-hwmon
Extension
[no extension]
Size
20703 bytes
Lines
1090
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

What:		/sys/class/hwmon/hwmonX/name
Description:
		The chip name.
		This should be a short, lowercase string, not containing
		whitespace, dashes, or the wildcard character '*'.
		This attribute represents the chip name. It is the only
		mandatory attribute.
		I2C devices get this attribute created automatically.

		RO

What:		/sys/class/hwmon/hwmonX/label
Description:
		A descriptive label that allows to uniquely identify a
		device within the system.
		The contents of the label are free-form.

		RO

What:		/sys/class/hwmon/hwmonX/update_interval
Description:
		The interval at which the chip will update readings.
		Unit: millisecond

		RW

		Some devices have a variable update rate or interval.
		This attribute can be used to change it to the desired value.

What:		/sys/class/hwmon/hwmonX/update_interval_us
Description:
		The interval at which the chip will update readings,
		expressed in microseconds.
		Unit: microsecond

		RW

		Some devices have a variable update rate or interval and
		require finer-than-millisecond control.
		This attribute can be used to change it to the desired value.
		Drivers implementing this attribute should also implement
		update_interval for millisecond-based userspace interfaces.

What:		/sys/class/hwmon/hwmonX/inY_min
Description:
		Voltage min value.

		Unit: millivolt

		RW

What:		/sys/class/hwmon/hwmonX/inY_lcrit
Description:
		Voltage critical min value.

		Unit: millivolt

		RW

		If voltage drops to or below this limit, the system may
		take drastic action such as power down or reset. At the very
		least, it should report a fault.

What:		/sys/class/hwmon/hwmonX/inY_max
Description:
		Voltage max value.

		Unit: millivolt

		RW

Annotation

Implementation Notes