i2c-slave-testunit over i2c-gpio bus

Matwey V. Kornilov
2025-02-18T08:49:55Z

Hello,

I am trying to run i2c-slave-testunit over i2c-gpio bus in order to
test/debug my MCU based board firmware. I would like to use i2c-gpio
to use the fault injector.
Currently, I see the following message in the system logs:

[ 120.703458] [ T1309] i2c-slave-testunit 3-1030: i2c_slave_register:
not supported by adapter
[ 120.703496] [ T1309] i2c-slave-testunit 3-1030: probe with driver
i2c-slave-testunit failed with error -95

As far as I learned from the i2c-gpio source, the module doesn't
introduce itself as i2c slave compatible. Do I understand it
correctly? If so, would it have any sense to add i2c slave support for
i2c-gpio?