~/talk

Basics of I2C on Linux

links:none on file
slides:none on file

Covers I²C electrical basics, how buses and 7-bit addresses map into Linux device tree and sysfs, and the minimal kernel driver pattern (i2c_driver table + probe). Shows real driver code using SMBus helpers and the i2c_transfer "Swiss army knife" for multi-message sequences. Lists user tools i2cdetect/i2cdump/i2cget/i2cset and warns they can disturb the bus. Recommends oscilloscope and PulseView + cheap logic analyzer for missing ACKs, pull‑up problems, bus‑busy recovery, clock throttling, and reset-on-boot workarounds.

AI-written summary · about

  1. 0:00Start
  2. 0:45What is PC
  3. 13:04Client device driver: i2c and device tree tables
  4. 13:39Client device driver: probe function
  5. 15:43Client device driver: requesting PC transactions
  6. 26:23Logic analyzer
  7. 28:18Troubleshooting tools
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.