I2C Interface

Started by FW1000, July 24, 2019, 01:17:16 PM

Previous topic - Next topic
Hello!

I am wondering whether it is possible to access the I2C interface of a mainboard with OPNsense (19.7).

Tried to load the kernel modules smbus and iic (and much more). But scanning the I2C interface with

i2c -f /dev/iic0 -s

results always in an error:

Error opening I2C controller (/dev/iic0) for scanning: No such file or directory

dmesg shows nothing about i2c (iic), etc. Nothing about loading the modules.

With Linux (Debian, CentOS, ...) it is possible to access the I2C interface of the mainboard.

What do I miss? Appreciate any comment, link ...

Thanks
WH

Resurrecting an old topic. I'm trying to control the fan on an Edge 640 and need the I2C command to accomplish this. I can load the iicbus and iic modules, but no /dev/iicX devices are created. Anyone ever get this to work?
- Jim

Largely a guess, but I figure you'd need something like ig4 (depending on your hardware), either instead of or in addition to the base driver(s) (I don't know what all is required). Interestingly, this is loaded (not explicitly by me) on one of my AMD systems (but no igbus).

Something like superio might also allow monitoring and control, but I don't know of an appropriate utility package.

ACPI may be an option as well... I have a Gigabyte board that exposes some temperature sensors, but no apparent fan monitoring or control (it has no fans).