[FS#789] candump exits with "socket: Protocol not supported"

LEDE Bugs lede-bugs at lists.infradead.org
Wed May 24 23:08:28 PDT 2017


The following task has a new comment added:

FS#789 - candump exits with "socket: Protocol not supported"
User who did this - Yousong Zhou (yousong)

----------
Candump requires can raw protocol support.  Please install kmod-can-raw.


root at LEDE:/# candump vcan0
[  193.575991] can: request_module (can-proto-1) failed.
socket: Protocol not supported
root at LEDE:/#
root at LEDE:/#
root at LEDE:/# lsmod | grep can
can                    36107  0
can_dev                 8035  0
vcan                    2184  0
root at LEDE:/# opkg install kmod-can-raw
Installing kmod-can-raw (4.9.29-1) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/x86/64/packages/kmod-can-raw_4.9.29-1_x86_64.ipk
Configuring kmod-can-raw.
[  313.061267] can: raw protocol (rev 20120528)
root at LEDE:/# lsmod | grep can
can                    36107  1 can_raw
can_dev                 8035  0
can_raw                 5312  0
vcan                    2184  0
root at LEDE:/# candump vcan0
^Croot at LEDE:/#

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=789#comment2667



More information about the lede-bugs mailing list