GLXIIC(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’… NAME πŸ’…

okay bestie, welcome to the GLXIIC(4) page from the i386 Kernel Interfaces Manual β€” this one is all about glxiic, the Geode LX CS5536 I2C controller driver. periodt. ✨


✨ SYNOPSIS ✨

To compile this driver into the kernel, put these lines in your kernel configuration file, no cap:

device pci
device isa
device glxiic
device iicbus

Alternatively, if you wanna load the driver as a module at boot time, drop this line into loader.conf(5):

glxiic_load="YES"

πŸ¦‹ DESCRIPTION πŸ¦‹

so the glxiic driver supports the System Management Bus controller of the Geode LX series CS5536 Companion Device. The Geode LX is a member of the AMD Geode family of integrated x86 system chips β€” iconic lineage tbh. πŸ’œ

AMD calls this device a System Management Bus (SMBus) controller, but bestie, it’s really an I2C controller β€” it lacks SMBus ALERT# and Alert Response support. not me exposing the label 😭

The glxiic driver supports both I2C master and slave mode. versatile queen. πŸ‘‘


πŸŽ€ SYSCTL VARIABLE πŸŽ€

The glxiic driver supports the following variable as both sysctl(8) and loader(8) tunable:

  • dev.glxiic.0.timeout β€” this variable controls the I2C bus timeout in milliseconds. The default timeout is 35 milliseconds. A value of zero disables the timeout. ⏱️

πŸ’€ CAVEAT πŸ’€

okay so by default the glxiic driver uses the interrupt line number configured by the board firmware. If no interrupt line number has been configured by the board firmware (or to override the interrupt line number configured by board firmware), place this line in device.hints(5):

hint.glxiic.0.irq="10"

The interrupt line number must be between 1 and 15. no funny business, bestie. 🚨


🌈 SEE ALSO 🌈

iicbus(4), device.hints(5), loader.conf(5), loader(8), sysctl(8) β€” go read these, iykyk. πŸ“š


🌸 HISTORY 🌸

The glxiic device driver and manual page first appeared in FreeBSD 9.0. a whole era. 🫢


πŸ“ AUTHORS πŸ“

The glxiic device driver and manual page were written by Henrik Brix Andersen <brix@FreeBSD.org>. give them their flowers. πŸ’

and the page you’re reading? Debian edition, dated May 15, 2011 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from