Re: Meta-respberrypi socketcan - how do I bring up the interfaces?
Stephen John Smoogen
On Thu, 30 Sept 2021 at 05:21, Chris Tapp <opensource@...> wrote:
I am looking at getting one of these so do not have final answers. However looking at http://www.port.de/cgi-bin/CAN/CanFaqErrors https://stackoverflow.com/questions/64892746/socketcan-device-state-stopped https://www.can-cia.org/can-knowledge/canopen/network-management/ The STOPPED state indicates that the device is detecting some sort of error and can not continue. My guess is that the iproute2 command tried to bring things up and found the bus in a non-workable state or too many errors. For other buses this could be due to non-termination (aka is the CAN bus connected to anything?) For some buses they have a 'self-termination' if the leads do not have the voltages/resistance on the end. Others will fail (like removing the end terminator on a thinwire ethernet network or not having a good loop on one of the RS422? networks (memory is fuzzy if this is the one or it was a different one)) Sorry I can't be of more help. I have added ENABLE_SPI_BUS = “1” and ENABLE_DUAL_CAN = “1” to my local.conf and see the following at boot: -- Stephen J Smoogen. I've seen things you people wouldn't believe. Flame wars in sci.astro.orion. I have seen SPAM filters overload because of Godwin's Law. All those moments will be lost in time... like posts on a BBS... time to shutdown -h now. |
|