CAN Module and OSMC

https://paste.osmc.tv/caxalelimo

Well, I can see nothing revealing in the log.

You’ve not mentioned if you tried in with Raspberry Pi OS but I did a quick comparison of the kernel options for the string _CAN in the OSMC (4.19.122-2) and RaspiOS (5.10.11+) kernels.

OSMC

osmc@osmc:/boot$ grep _CAN config-4.19.122-2-osmc 
# CONFIG_CAN is not set

RaspiOS

pi@raspberrypi:/boot $ gunzip -c /proc/config.gz | grep _CAN
CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y
# CONFIG_NET_EMATCH_CANID is not set
CONFIG_CAN=m
CONFIG_CAN_RAW=m
CONFIG_CAN_BCM=m
CONFIG_CAN_GW=m
# CONFIG_CAN_J1939 is not set
CONFIG_CAN_ISOTP=m
CONFIG_CAN_VCAN=m
# CONFIG_CAN_VXCAN is not set
CONFIG_CAN_SLCAN=m
CONFIG_CAN_DEV=m
CONFIG_CAN_CALC_BITTIMING=y
# CONFIG_CAN_FLEXCAN is not set
# CONFIG_CAN_GRCAN is not set
# CONFIG_CAN_TI_HECC is not set
# CONFIG_CAN_C_CAN is not set
# CONFIG_CAN_CC770 is not set
# CONFIG_CAN_IFI_CANFD is not set
# CONFIG_CAN_M_CAN is not set
# CONFIG_CAN_RCAR is not set
# CONFIG_CAN_RCAR_CANFD is not set
# CONFIG_CAN_SJA1000 is not set
# CONFIG_CAN_SOFTING is not set
# CONFIG_CAN_HI311X is not set
CONFIG_CAN_MCP251X=m
CONFIG_CAN_MCP251XFD=m
# CONFIG_CAN_MCP251XFD_SANITY is not set
# CONFIG_CAN_8DEV_USB is not set
CONFIG_CAN_EMS_USB=m
# CONFIG_CAN_ESD_USB2 is not set
CONFIG_CAN_GS_USB=m
# CONFIG_CAN_KVASER_USB is not set
# CONFIG_CAN_MCBA_USB is not set
# CONFIG_CAN_PEAK_USB is not set
# CONFIG_CAN_UCAN is not set
# CONFIG_CAN_DEBUG_DEVICES is not set

Yep, the difference is that big. The bottom line is that you’re a lot more lilely to get it working on RaspiOS. (OSMC is, after all, a mediacentre-focused distribution – and support for the Pi Zero will cease with the introduction of Kodi 19.)

Raspberry Pi OS working. thanks for the help and the warning about kodi 19.

1 Like