-1

我在 Linux 内核 v4.14.98 中使用 tcan4x5x 驱动程序,我面临以下问题

[ 27.788175] tcan4x5x spi0.0: Unsupported version number: 0
[ 28.034275] [<ffff0000087db7f0>] tcan4x5x_can_probe+0x318/0x550
[ 28.085188] [<ffff000009451ecc>] tcan4x5x_can_driver_init+0x18/0x20
[ 28.357443] [<ffff0000087db7f8>] tcan4x5x_can_probe+0x320/0x550
[ 28.408271] [<ffff000009451ecc>] tcan4x5x_can_driver_init+0x18/0x20
[ 28.681485] [<ffff0000087db804>] tcan4x5x_can_probe+0x32c/0x550
[ 28.732311] [<ffff000009451ecc>] tcan4x5x_can_driver_init+0x18/0x20
[ 29.004399] [<ffff0000087db80c>] tcan4x5x_can_probe+0x334/0x550
[ 29.055230] [<ffff000009451ecc>] tcan4x5x_can_driver_init+0x18/0x20
[ 29.088498] tcan4x5x spi0.0: Probe failed, err=-22
[ 29.097673] tcan4x5x: probe of spi0.0 failed with error -22

我该如何解决这个问题?

4

1 回答 1

1

建议启用动态调试控制并检查是否有更多关于错误 EINVAL 错误 22 的信息。

  • echo -n '+p' > /sys/kernel/debug/dynamic_debug/control
  • 再次卸载和加载驱动程序
于 2021-07-15T07:13:58.150 回答