我的 i2c_hid 内核模块有问题。启动时我看到以下消息:
[ 30.340216] i2c_hid i2c-SYNA3063:00: failed to reset device.
这需要很长时间(约 10 秒)才能自行修复。
以下是 dmseg | grep i2c 的输出
[ 5.088380] i2c_hid i2c-SYNA3063:00: i2c-SYNA3063:00 supply vdd not found, using dummy regulator
[ 5.088388] i2c_hid i2c-SYNA3063:00: Linked as a consumer to regulator.0
[ 5.088389] i2c_hid i2c-SYNA3063:00: i2c-SYNA3063:00 supply vddl not found, using dummy regulator
[ 5.917177] [<00000000587c051b>] i2c_dw_isr [i2c_designware_core]
[ 10.372250] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 17.028217] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 23.684215] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 30.340216] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 31.492215] i2c_hid i2c-SYNA3063:00: can't add hid device: -61
[ 31.492587] i2c_hid: probe of i2c-SYNA3063:00 failed with error -61
[ 793.402149] i2c_hid i2c-SYNA3063:00: i2c-SYNA3063:00 supply vdd not found, using dummy regulator
[ 793.402159] i2c_hid i2c-SYNA3063:00: i2c-SYNA3063:00 supply vddl not found, using dummy regulator
[ 798.543825] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 804.687710] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 810.831603] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 816.975397] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 817.999421] i2c_hid i2c-SYNA3063:00: can't add hid device: -61
[ 817.999733] i2c_hid: probe of i2c-SYNA3063:00 failed with error -61
以下是 dmseg -l err 的输出
[ 5.071005] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
[ 5.085339] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 10ac08 [ IBUS ]
[ 5.917130] irq 17: nobody cared (try booting with the "irqpoll" option)
[ 5.917174] handlers:
[ 5.917177] [<00000000587c051b>] i2c_dw_isr [i2c_designware_core]
[ 6.366111] nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
[ 10.372250] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 17.028217] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 23.684215] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 30.340216] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 31.492215] i2c_hid i2c-SYNA3063:00: can't add hid device: -61
[ 32.740583] kvm: disabled by bios
[ 32.826100] kvm: disabled by bios
[ 32.944271] kvm: disabled by bios
[ 33.034443] kvm: disabled by bios
[ 33.139257] kvm: disabled by bios
[ 33.273601] kvm: disabled by bios
[ 33.360587] kvm: disabled by bios
[ 33.449016] kvm: disabled by bios
[ 33.543923] r8822be: halmac_init_hal failed
[ 33.543928] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 33.545081] r8822be: halmac_init_hal failed
[ 33.545557] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
[ 33.547296] pcieport 0000:00:1c.5: [ 0] RxErr (First)
[ 33.551802] r8822be: halmac_init_hal failed
[ 33.552720] r8822be: halmac_init_hal failed
[ 35.012983] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
[ 43.255520] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
[ 44.006870] r8822be: halmac_init_hal failed
[ 44.006880] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 44.006889] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
[ 44.006894] pcieport 0000:00:1c.5: [ 0] RxErr (First)
[ 44.007541] r8822be: halmac_init_hal failed
[ 54.014665] r8822be: halmac_init_hal failed
[ 54.015679] r8822be: halmac_init_hal failed
[ 54.024418] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 54.024431] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
[ 54.024440] pcieport 0000:00:1c.5: [ 0] RxErr (First)
[ 54.817376] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
[ 64.012385] r8822be: halmac_init_hal failed
[ 64.012413] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 64.012421] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
[ 64.012426] pcieport 0000:00:1c.5: [ 0] RxErr (First)
[ 64.012986] r8822be: halmac_init_hal failed
[ 73.806595] r8822be: halmac_init_hal failed
[ 73.806614] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 73.806621] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
[ 73.806626] pcieport 0000:00:1c.5: [ 0] RxErr (First)
[ 73.807231] r8822be: halmac_init_hal failed
[ 83.738322] r8822be: halmac_init_hal failed
[ 83.738332] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 83.738340] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00000001/00002000
[ 83.738346] pcieport 0000:00:1c.5: [ 0] RxErr (First)
[ 83.738810] r8822be: halmac_init_hal failed
[ 798.543825] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 804.687710] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 810.831603] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 816.975397] i2c_hid i2c-SYNA3063:00: failed to reset device.
[ 817.999421] i2c_hid i2c-SYNA3063:00: can't add hid device: -61
以下是“lsmod | grep i2c”的输出
i2c_hid 28672 0
i2c_designware_platform 16384 0
i2c_designware_core 20480 1 i2c_designware_platform
i2c_algo_bit 16384 2 i915,nouveau
i2c_i801 28672 0
hid 139264 4 i2c_hid,usbhid,hid_generic,hid_asus
我确实认为我应该删除 i2c_hid 和 hid 内核模块。所以我尝试将它们放入黑名单中,将它们放入 /etc/modprobe.d/blacklist.conf。在这个文件中,我添加了“blacklist i2c_hid”和“blacklist hid”。但它们还是启动了。我尝试在内核参数中放入“modprobe.blacklist=i2c_hid,hid”,但这也没有用。有什么想法吗?
非常感谢。。。。。。。PS:我并不是在用 ubuntu。我在用 debian 10.5,但我在 ubuntu 18.04 中也遇到了这个问题。PS:我知道 i2c_hid 是一个触摸板驱动程序