GLXIIC(4)
π GLXIIC(4) π
okay bestie, buckle up β this is the glxiic page from the i386 Kernel Interfaces Manual, and it's literally the manual for the Geode LX CS5536 I2C controller driver. yes the title is all shouty caps, that's just how manpages are, they have main character energy π
β¨ NAME β¨
glxiic β the Geode LX CS5536 I2C controller driver. that's it, that's the whole name section π
πΈ SYNOPSIS πΈ
so you wanna get this driver into your kernel? bet. drop these lines into your kernel configuration file:
device pci
device isa
device glxiic
device iicbus
orrrr if you'd rather load it as a module at boot time (which, lowkey iconic), put this line in loader.conf(5):
glxiic_load="YES"
π¦ DESCRIPTION π¦
okay so. the glxiic driver supports the System Management Bus controller of the Geode LX series CS5536 Companion Device. and the Geode LX? it's a member of the AMD Geode family of integrated x86 system chips. yes that's a lot of capital letters, no I did not make them up β¨
now here's the tea π΅ β AMD calls this thing a System Management Bus (SMBus) controller, but fr fr it's really an I2C controller. it lacks SMBus ALERT# and Alert Response support, so the SMBus label is giving... a little bit of a stretch, iykyk π
and the glxiic driver? it supports both I2C master and slave mode. versatile queen π
β SYSCTL VARIABLE β
the glxiic driver supports this one variable as both a sysctl(8) and a loader(8) tunable:
dev.glxiic.0.timeoutβ this controls the I2C bus timeout in milliseconds. the default timeout is 35 milliseconds. and a value of zero disables the timeout entirely. (yes, zero = no timeout, no cap π«Ά)
π CAVEAT π
okay this part matters, pay attention bestie.
by default, the glxiic driver uses the interrupt line number configured by the board firmware. but if the board firmware didn't configure one (or if you wanna override whatever it configured), put this line in device.hints(5):
hint.glxiic.0.irq="10"
β οΈ the interrupt line number must be between 1 and 15. like, must must. don't try anything cute outside that range π
π SEE ALSO π
go read them, they're all part of the friend group π
π HISTORY π
the glxiic device driver and manual page first appeared in FreeBSD 9.0. vintage. iconic. a moment π
π AUTHORS π
the glxiic device driver and manual page were written by Henrik Brix Andersen <brix@FreeBSD.org>. thank you for your service, king π«‘π
and that's the whole page bestie!! this lil number comes from the Debian build of the manual, dated May 15, 2011 β so like, it's older than most of our entire personalities, but it still slays π β¨π¦πΈ
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2011 Henrik Brix Andersen <brix@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms