Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Skip installing eeprom driver on non-existing devices. #22

@stcheng

Description

@stcheng

echo sff8436 0x50 > /sys/bus/i2c/devices/i2c-$i/$1
this command needs to be executed only when the SFP is inserted.

[  110.270950] i2c i2c-18: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.354986] i2c i2c-19: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.438666] i2c i2c-20: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.523709] i2c i2c-21: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.607604] i2c i2c-22: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.696219] i2c i2c-23: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.796446] i2c i2c-24: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.896648] i2c i2c-25: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.996833] i2c i2c-26: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.096999] i2c i2c-27: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.197201] i2c i2c-28: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.297407] i2c i2c-29: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.388211] i2c i2c-30: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.471924] i2c i2c-31: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.555546] i2c i2c-32: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.639164] i2c i2c-33: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.722900] i2c i2c-18: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.806522] i2c i2c-19: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.890144] i2c i2c-20: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.973954] i2c i2c-21: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.061458] i2c i2c-22: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.161657] i2c i2c-23: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.261883] i2c i2c-24: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.362071] i2c i2c-25: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.462306] i2c i2c-26: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.562502] i2c i2c-27: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.662728] i2c i2c-28: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.754545] i2c i2c-29: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.838201] i2c i2c-30: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.921877] i2c i2c-31: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.005525] i2c i2c-32: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.089183] i2c i2c-33: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.172937] i2c i2c-18: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.273153] i2c i2c-19: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.373422] i2c i2c-20: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.473594] i2c i2c-21: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.573762] i2c i2c-22: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.674114] i2c i2c-23: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.774141] i2c i2c-24: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.870162] i2c i2c-25: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.954042] i2c i2c-26: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.037670] i2c i2c-27: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.121327] i2c i2c-28: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.204944] i2c i2c-29: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.288561] i2c i2c-30: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.372182] i2c i2c-31: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.455805] i2c i2c-32: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.543503] i2c i2c-33: Failed to register i2c client sff8436 at 0x50 (-16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions