我正在使用运行Linux内核4.4.0的Ubuntu 16.0.4。我的主板上连接了i2c适配器上的几个EEPROMS。
当我插入eeprom
模块时,我会在uevent
中看到无限期/var/log/syslog
条消息:
Jul 28 15:07:16 manik kernel: [15801.153601] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.153664] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.153725] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.153787] eeprom 23-0054: uevent
Jul 28 15:07:16 manik kernel: [15801.153852] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.153914] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.153976] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154041] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154103] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154166] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154227] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154292] eeprom 23-0054: uevent
Jul 28 15:07:16 manik kernel: [15801.154357] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154419] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154482] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154547] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154609] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154671] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154732] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154806] eeprom 23-0054: uevent
Jul 28 15:07:16 manik kernel: [15801.154871] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154934] eeprom 23-0056: uevent
我检查了sysfs设备树和设备节点,以便所有eeproms芯片都可以正常创建。
我不明白为什么仍然会生成EEPROM芯片的uevents。
任何人都知道为什么?
答案 0 :(得分:0)
在内核配置中禁用了i2c-core调试(CONFIG_I2C_DEBUG_CORE
未设置)。