ACPISMBUS(4)
πΈ NAME πΈ
okay so this is the ACPISMBUS(4) page from the Kernel Interfaces Manual, and the star of the show is acpismbus β the ACPI SMBus Control Method Interface. yes bestie, that's the whole name, no cap.
β¨ SYNOPSIS β¨
the kernel-config vibe is literally just these two lines:
acpismbus* at acpi?
iic* at acpismbus?
π DESCRIPTION π
so the acpismbus driver supports instances of the ACPI SMBus Control Method Interface. that's the whole point. it gives you i2c access to bus segments that might not otherwise be accessible because the "native" driver support is missing. iconic workaround energy, honestly.
one very important vibe check: the SMBus Process Call protocol is not supported. sad but true. every other SMBus protocol? supported β but only to the extent that the underlying controller supports them. so it's giving "we can do it if the hardware can do it," not "we can do anything." periodt.
π SEE ALSO π
π¦ HISTORY π¦
the acpismbus driver appeared in NetBSD 6.0. a little retro, a little legendary. π
π BUGS π
okay bestie, listen up, because these are the fine-print warnings:
- even though
acpismbusSMBus Alerts can be associated with individual devices, this capability is ignored. when anacpismbusSMBus Alert is generated, all devices on thei2cbus segment which have registered an interrupt routine are notified. not just one. all of them. group chat behavior, honestly. - the SMBus CMI protocol defines a method to provide a list of devices on an
i2cbus segment and their addresses. theacpismbusdriver makes no attempt to retrieve or process this device list. it simply does not read the room. - there is currently no way to determine if the
i2ccontroller managed by an instance of the ACPI SMBus CMI can also be accessed using a native device driver. therefore, theacpismbusdriver should not be enabled by default. if both a native driver and theacpismbusdriver attempt to access the samei2cbus segment, the results are undefined. and undefined is not a cute look. π
okay that's the page! source line says Debian, dated February 6, 2010 β bye bestie, go touch some i2c bus segments responsibly π
β¨
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2009 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms