IG4(4)
π IG4 β Synopsys DesignWare I2C Controller π
okay bestie, so this is the ig4 page from the Kernel Interfaces Manual, and we're gonna get you fluent in it, no cap. it's giving "small driver, big personality." let's GO β¨
πΈ SYNOPSIS πΈ
so like, there are two ways to get this driver into your life. option one, the main character route β compile it straight into the kernel. drop these exact lines into your kernel configuration file:
device ig4
device iicbus
OR, if you're more of a "load it as a module at boot time" girlie, put this line in loader.conf(5):
ig4_load="YES"
periodt. that's the whole vibe check. π
π¦ DESCRIPTION π¦
the ig4 driver gives you access to peripherals attached to an I2C controller. that's it, that's the whole thing β it's your little backstage pass to the I2C party. π
π₯ HARDWARE π₯
not every machine gets to sit with us, okay? ig4 supports the I2C controllers based on Synopsys DesignWare IP, and you'll find those in:
- Intel(R) Core(TM) processors starting from the fourth generation π
- Intel(R) Bay Trail
- Apollo Lake SoC families
- and some AMD systems π«Ά
so yeah, if your silicon's on the list, you're in. if notβ¦ it's not you, it's your hardware π
β¨ SYSCTL VARIABLES β¨
these sysctl(8) variables are available, and there's literally just one:
debug.ig4_dumpβ okay so this one is a zero-based bit mask π§ when any of the bits are set, a register dump gets printed for every single I2C transfer on anig4device with the same unit number. so like, set the bit, get the tea. every transfer, dumped. no filter, no chill π
π SEE ALSO π
go read these next, they're iconic:
π AUTHORS π
the ig4 driver was written for DragonFly BSD by Matthew Dillon and subsequently ported to FreeBSD by Michael Gmelin <freebsd@grem.de> π
this manual page was written by Michael Gmelin <freebsd@grem.de> βοΈ
and that's a wrap bestie π this was the Debian version, dated September 13, 2018 β oldie but a goodie, and she ATE, fr fr. go forth and talk to your peripherals πβ¨π¦
π¦ 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) 2015 Michael Gmelin <freebsd@grem.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms