I2C re-probe after boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I2C re-probe after boot

1,137件の閲覧回数
Cruncher
Contributor I

We have a RTC/NVRAM  (PCF2127a) chip on the i2C bus. We have seen a few rare occasions where it is not detected during boot (but is detect on another boot). Is there a way for me to force a re-probe if we don't see the device after we boot up?

To help debug this issue we have put a switch on the data line, so I can force a failure at boot. But I still can't talk to the chip afterwards because the part wasn't detected.

This is on an iMX35 on 2.6.31 kernel. The device driver is built in, I don't believe its in a module.

i2c-adapter i2c-0: IRQ: Bus Arbitration lost

i2c-adapter i2c-0: Could not grab Bus ownership

WARNING:  i2c bus failed.  RTC is not itialized or registered

rtc-pcf2127a: probe of 0-0051 failed with error -121

i2c /dev entries driver

ラベル(1)
タグ(2)
2 返答(返信)

634件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

seems it is not stable during boot. Have you try to build it as module and then load it automatically after boot?

634件の閲覧回数
Cruncher
Contributor I

I haven't, but I will give that a try when I can. Other fires are hotter right now.

0 件の賞賛