kkuchera/canalyze-fw

RTNETLINK answers: Protocol error

Opened this issue · 1 comments

Debian GNU/Linux 9 on Linux debian 4.9.0-8-amd64 running in VirtualBox

# ip link set can0 up type can bitrate 500000
RTNETLINK answers: Protocol error
# echo $?
2

I see the green blinking light turn solid though...

I'm not sure if my issue is related to yours, but what seems to have resolved this for me was realizing that the DIP switches were soldered upside down on the board I bought.

I haven't yet confirmed whether the PCB design has changed since the module's user guide was created, but using the guide's picture for the DIP switch positions instead of the switch labels on my module seems to been what finally got mine to see CAN data.

Here's the guide I'm referring to:
https://kkuchera.github.io/canalyze/userguide.html

Update: The PCB design has not changed. In my case the DIP component was indeed soldered upside down, so I just have to pay attention to which switch the guide is really referring to when it identifies it by switch number.