Ubuntu-server-V170604 I2C Errors in syslog


#1

Hi there,

i have a non pro Khadas VIM and used the firmware Ubuntu-server-16.04_Linux-4.9_V170604 for my tvheadend Server.
It runs quite well, but I have noticed a lot of the following in syslog or dmesg:

[303130.721833] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[303130.721837] i2c i2c-2: token 1, master_no(2) 300K addr 0x77
[303130.721886] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[303130.721890] i2c i2c-2: token 1, master_no(2) 300K addr 0x77
[303130.721968] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[303130.721972] i2c i2c-2: token 1, master_no(2) 300K addr 0x77
[303130.722021] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[303130.722025] i2c i2c-2: token 1, master_no(2) 300K addr 0x77
[303130.722074] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[303130.722078] i2c i2c-2: token 1, master_no(2) 300K addr 0x77
[303130.722150] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[303130.722154] i2c i2c-2: token 1, master_no(2) 300K addr 0x77
[303130.722203] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[303130.722207] i2c i2c-2: token 1, master_no(2) 300K addr 0x77
[303130.722256] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[303130.722260] i2c i2c-2: token 1, master_no(2) 300K addr 0x77
[303161.016222] systemd -journald[2366]: dev / kmsg buffer overrun, some messages lost.

These entrys are spaming the log, and therefore it is not usable. Is this behaviour known, what can I do to fix it.
I dont want to upgrade to your 4.12 Kernel Version of Ubuntu because of the not working USB, which I need.

Anyway just curius: how to I do a kernelupdate later on, when 4.12 is ready? I have modified the installed version quite a bit, and therefore didnt want to loose the settings in a new firmware flash.


#2

Hi,
I can confirm that “errors” when you run i2c-detect tool from i2c-tools. So based on googling some days ago looks like, that timings of bus needs to be fine tuned.

Anyway I2C communications is working well, either of that float of addres… And issue is across platforms, either I have it under android build.

btw, what you have on 0x77 I2C?


#3

I am not using i2c at all. I have not added any hardware or devices to the board, except USB power and Ethnernet Plug.
Is it possible to disable i2c. I dont think, that I will use the GPIO Headers at all.