[yocto] CAN bus protocol error
wuteng wu
wutengss at gmail.com
Fri Jan 3 05:11:56 PST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140103/da2f0903/attachment.html>
More information about the yocto
mailing list