If the si2157 is behind a e.g. si2168, the si2157 willThat is hackish solution :( Somehow I2C reads should be get working rather than making this kind of work-around. Returning 0xff to i2c reads means that signal strength also shows some wrong static value?
at least in some situations not be readable after the si268
got the command 0101. It still accepts commands but the answer
is just ffffff. So read the chip id before that so the
information is not lost.
The following line in kernel output is a symptome
of that problem:
si2157 7-0063: unknown chip version Si21255-\xffffffff\xffffffff\xffffffff