Hi,

I have cross compiled the canutils and installed it into the target rootfs,
but when i tried to test the CAN bus by using the candump command as below:
candump can0
interface = can0, family = 29, type = 3, proto = 1
*socket: Protocol not supported*

I got the "socket: Protocol not supported" error msg, i have searched and
found the related solution somewhere said that the 'can-raw protocol
module' need to be included into the kernel. but how should i do that in
yocto ?

the needed driver has to be loaded by executing the commands:




*modprobe canmodprobe can-devmodprobe can-raw*

but only the module can is build-in.

It might be possible that the can-dev is also necessary.

anyone have experience to share with me ?

BR,
Teng
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to