tcan4x5x is refusing to configure device after os reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm evaluating tcan4550 on Raspberry Pi 5 and currently using tcan4x5x module
from 6.11.y tree (because I think there are some performance improvements
there, which aren't available in 6.6.y).

I think I found an issue if I set up can interface and do os reboot *without*
setting interface down first.

[    7.917431] tcan4x5x spi0.0: Detected TCAN device version generic
[    7.919833] tcan4x5x spi0.0: refusing to configure device when in normal mode
[    7.927054] tcan4x5x spi0.0 (unnamed net_device) (uninitialized): failed to enable configuration mode
[    7.961160] tcan4x5x spi0.0: Failed registering m_can device -EBUSY
[    7.967940] tcan4x5x: probe of spi0.0 failed with error -16

Based on above log, I figured that "refusing to configure..." message is from this patch:
https://lore.kernel.org/all/20240607105210.155435-1-martin@xxxxxxxxxx

My question: is this expected? If I do `ip link set can0 down` before doing reboot, the issue
disappears. I'm not sure if doing `systemctl reboot` should also set interface down, I think
that's not the case.


Regards,

Renjaya




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux